diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-21 16:23:42 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-21 16:23:42 +0000 |
commit | 1f2e4ecc30f1b4794af56bbd9d533dcdc021c84f (patch) | |
tree | c82bf730d2eea7e66815262e3b613ae99358f62c /crypto/aes | |
parent | 955e28006da00e3565e9738ae2fd791d5c008645 (diff) |
Rename all AES_set*() functions using private_ prefix.
Diffstat (limited to 'crypto/aes')
-rw-r--r-- | crypto/aes/aes_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/aes/aes_core.c b/crypto/aes/aes_core.c index 7d3ecb7325..8f5210ac70 100644 --- a/crypto/aes/aes_core.c +++ b/crypto/aes/aes_core.c @@ -734,7 +734,7 @@ int private_AES_set_decrypt_key(const unsigned char *userKey, const int bits, u32 temp; /* first, start with an encryption schedule */ - status = AES_set_encrypt_key(userKey, bits, key); + status = private_AES_set_encrypt_key(userKey, bits, key); if (status < 0) return status; @@ -1201,7 +1201,7 @@ static const u32 rcon[] = { /** * Expand the cipher key into the encryption key schedule. */ -int AES_set_encrypt_key(const unsigned char *userKey, const int bits, +int private_AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) { u32 *rk; int i = 0; @@ -1301,7 +1301,7 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, /** * Expand the cipher key into the decryption key schedule. */ -int AES_set_decrypt_key(const unsigned char *userKey, const int bits, +int private_AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) { u32 *rk; @@ -1309,7 +1309,7 @@ int AES_set_decrypt_key(const unsigned char *userKey, const int bits, u32 temp; /* first, start with an encryption schedule */ - status = AES_set_encrypt_key(userKey, bits, key); + status = private_AES_set_encrypt_key(userKey, bits, key); if (status < 0) return status; |