diff options
author | Jack Lloyd <[email protected]> | 2018-09-10 16:07:26 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-10 16:07:26 -0400 |
commit | e6f7836b5eca0c000f2cd3483a66b48de5170a1b (patch) | |
tree | ee1a9c2f55c16166978e572ad981fba3eba629f7 /src/lib/prov/commoncrypto/commoncrypto_utils.h | |
parent | bc1c6aa1cb19b43b4f00a6a812deeb05cdc6d0e3 (diff) | |
parent | 364119259ca7dc091f437a72d16cb575d0c48db3 (diff) |
Merge GH #1673 Add CommonCrypto block cipher interface
Diffstat (limited to 'src/lib/prov/commoncrypto/commoncrypto_utils.h')
-rw-r--r-- | src/lib/prov/commoncrypto/commoncrypto_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/prov/commoncrypto/commoncrypto_utils.h b/src/lib/prov/commoncrypto/commoncrypto_utils.h index 9847c292a..f4bdf4e24 100644 --- a/src/lib/prov/commoncrypto/commoncrypto_utils.h +++ b/src/lib/prov/commoncrypto/commoncrypto_utils.h @@ -27,6 +27,10 @@ struct CommonCryptor_Opts CommonCryptor_Opts commoncrypto_opts_from_algo(const std::string& algo); +void commoncrypto_adjust_key_size(const uint8_t key[], size_t length, + const CommonCryptor_Opts& opts, secure_vector<uint8_t>& full_key); + + } #endif |