diff options
Diffstat (limited to 'src/lib/libcrypto/aes/aes_core.c')
-rw-r--r-- | src/lib/libcrypto/aes/aes_core.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/aes/aes_core.c b/src/lib/libcrypto/aes/aes_core.c index a7ec54f4da..8f5210ac70 100644 --- a/src/lib/libcrypto/aes/aes_core.c +++ b/src/lib/libcrypto/aes/aes_core.c | |||
@@ -625,7 +625,7 @@ static const u32 rcon[] = { | |||
625 | /** | 625 | /** |
626 | * Expand the cipher key into the encryption key schedule. | 626 | * Expand the cipher key into the encryption key schedule. |
627 | */ | 627 | */ |
628 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | 628 | int private_AES_set_encrypt_key(const unsigned char *userKey, const int bits, |
629 | AES_KEY *key) { | 629 | AES_KEY *key) { |
630 | 630 | ||
631 | u32 *rk; | 631 | u32 *rk; |
@@ -726,7 +726,7 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | |||
726 | /** | 726 | /** |
727 | * Expand the cipher key into the decryption key schedule. | 727 | * Expand the cipher key into the decryption key schedule. |
728 | */ | 728 | */ |
729 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | 729 | int private_AES_set_decrypt_key(const unsigned char *userKey, const int bits, |
730 | AES_KEY *key) { | 730 | AES_KEY *key) { |
731 | 731 | ||
732 | u32 *rk; | 732 | u32 *rk; |
@@ -734,7 +734,7 @@ int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | |||
734 | u32 temp; | 734 | u32 temp; |
735 | 735 | ||
736 | /* first, start with an encryption schedule */ | 736 | /* first, start with an encryption schedule */ |
737 | status = AES_set_encrypt_key(userKey, bits, key); | 737 | status = private_AES_set_encrypt_key(userKey, bits, key); |
738 | if (status < 0) | 738 | if (status < 0) |
739 | return status; | 739 | return status; |
740 | 740 | ||
@@ -1201,7 +1201,7 @@ static const u32 rcon[] = { | |||
1201 | /** | 1201 | /** |
1202 | * Expand the cipher key into the encryption key schedule. | 1202 | * Expand the cipher key into the encryption key schedule. |
1203 | */ | 1203 | */ |
1204 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | 1204 | int private_AES_set_encrypt_key(const unsigned char *userKey, const int bits, |
1205 | AES_KEY *key) { | 1205 | AES_KEY *key) { |
1206 | u32 *rk; | 1206 | u32 *rk; |
1207 | int i = 0; | 1207 | int i = 0; |
@@ -1301,7 +1301,7 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | |||
1301 | /** | 1301 | /** |
1302 | * Expand the cipher key into the decryption key schedule. | 1302 | * Expand the cipher key into the decryption key schedule. |
1303 | */ | 1303 | */ |
1304 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | 1304 | int private_AES_set_decrypt_key(const unsigned char *userKey, const int bits, |
1305 | AES_KEY *key) { | 1305 | AES_KEY *key) { |
1306 | 1306 | ||
1307 | u32 *rk; | 1307 | u32 *rk; |
@@ -1309,7 +1309,7 @@ int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | |||
1309 | u32 temp; | 1309 | u32 temp; |
1310 | 1310 | ||
1311 | /* first, start with an encryption schedule */ | 1311 | /* first, start with an encryption schedule */ |
1312 | status = AES_set_encrypt_key(userKey, bits, key); | 1312 | status = private_AES_set_encrypt_key(userKey, bits, key); |
1313 | if (status < 0) | 1313 | if (status < 0) |
1314 | return status; | 1314 | return status; |
1315 | 1315 | ||