summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 09:44:25 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:17:00 +0200
commit9321117acdb64a977b000dfc44d296dddd37500d (patch)
treeb3691343d5b7b52de82fa1649919e239f6aaa866 /oox
parent497a24b22e452e1b50bdb730bcc29642eb1db2b0 (diff)
remove unused code oox::core::Decrypt::aes128cbc
Change-Id: I12478278de8b719c51b87c335abd5c440a56bd36
Diffstat (limited to 'oox')
-rw-r--r--oox/source/crypto/CryptTools.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/oox/source/crypto/CryptTools.cxx b/oox/source/crypto/CryptTools.cxx
index d9ba500e905d..d025609ecd7f 100644
--- a/oox/source/crypto/CryptTools.cxx
+++ b/oox/source/crypto/CryptTools.cxx
@@ -147,14 +147,6 @@ sal_uInt32 Decrypt::aes128ecb(vector<sal_uInt8>& output, vector<sal_uInt8>& inpu
return outputLength;
}
-sal_uInt32 Decrypt::aes128cbc(vector<sal_uInt8>& output, vector<sal_uInt8>& input, vector<sal_uInt8>& key, vector<sal_uInt8>& iv)
-{
- sal_uInt32 outputLength = 0;
- Decrypt crypto(key, iv, Crypto::AES_128_CBC);
- outputLength = crypto.update(output, input);
- return outputLength;
-}
-
// ENCRYPT
Encrypt::Encrypt(vector<sal_uInt8>& key, vector<sal_uInt8>& iv, CryptoType type) :