aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/commoncrypto/commoncrypto_utils.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-10 16:07:26 -0400
committerJack Lloyd <[email protected]>2018-09-10 16:07:26 -0400
commite6f7836b5eca0c000f2cd3483a66b48de5170a1b (patch)
treeee1a9c2f55c16166978e572ad981fba3eba629f7 /src/lib/prov/commoncrypto/commoncrypto_utils.h
parentbc1c6aa1cb19b43b4f00a6a812deeb05cdc6d0e3 (diff)
parent364119259ca7dc091f437a72d16cb575d0c48db3 (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.h4
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