Use old AppleCommonCrypto name for AES

This commit is contained in:
John Hood
2016-09-25 22:24:03 -04:00
parent 477729b315
commit f429fd38b0
+2 -2
View File
@@ -390,7 +390,7 @@ static inline void AES_set_encrypt_key(unsigned char *handle, const int bits, AE
{
CCCryptorStatus rv = CCCryptorCreateFromData(
kCCEncrypt,
kCCAlgorithmAES,
kCCAlgorithmAES128,
kCCOptionECBMode,
handle,
bits / 8,
@@ -406,7 +406,7 @@ static inline void AES_set_decrypt_key(unsigned char *handle, const int bits, AE
{
CCCryptorStatus rv = CCCryptorCreateFromData(
kCCDecrypt,
kCCAlgorithmAES,
kCCAlgorithmAES128,
kCCOptionECBMode,
handle,
bits / 8,