diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/hash.hxx | 2 | ||||
-rw-r--r-- | include/oox/crypto/AgileEngine.hxx | 1 | ||||
-rw-r--r-- | include/oox/crypto/CryptTools.hxx | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/hash.hxx b/include/comphelper/hash.hxx index 54ab3a25105c..a3ad468d3eb5 100644 --- a/include/comphelper/hash.hxx +++ b/include/comphelper/hash.hxx @@ -27,12 +27,14 @@ enum class HashType MD5, SHA1, SHA256, + SHA384, SHA512 }; const sal_uInt32 MD5_HASH_LENGTH = RTL_DIGEST_LENGTH_MD5; const sal_uInt32 SHA1_HASH_LENGTH = RTL_DIGEST_LENGTH_SHA1; const sal_uInt32 SHA256_HASH_LENGTH = 32; +const sal_uInt32 SHA384_HASH_LENGTH = 48; const sal_uInt32 SHA512_HASH_LENGTH = 64; struct HashImpl; diff --git a/include/oox/crypto/AgileEngine.hxx b/include/oox/crypto/AgileEngine.hxx index ece492871163..07ce3cb5eeb1 100644 --- a/include/oox/crypto/AgileEngine.hxx +++ b/include/oox/crypto/AgileEngine.hxx @@ -70,6 +70,7 @@ struct OOX_DLLPUBLIC AgileEncryptionParameters enum class AgileEncryptionPreset { AES_128_SHA1, + AES_128_SHA384, AES_256_SHA512, }; diff --git a/include/oox/crypto/CryptTools.hxx b/include/oox/crypto/CryptTools.hxx index c8c1420079bd..10382b979380 100644 --- a/include/oox/crypto/CryptTools.hxx +++ b/include/oox/crypto/CryptTools.hxx @@ -48,6 +48,7 @@ enum class CryptoHashType { SHA1, SHA256, + SHA384, SHA512 }; |