diff options
-rw-r--r-- | crypto/aes/aes_cbc.c | 4 | ||||
-rw-r--r-- | crypto/camellia/cmll_cbc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/aes/aes_cbc.c b/crypto/aes/aes_cbc.c index 2ae0f4a365..227f75625d 100644 --- a/crypto/aes/aes_cbc.c +++ b/crypto/aes/aes_cbc.c @@ -57,7 +57,7 @@ void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, unsigned char *ivec, const int enc) { if (enc) - CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block_f)AES_encrypt); + CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block128_f)AES_encrypt); else - CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block_f)AES_decrypt); + CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block128_f)AES_decrypt); } diff --git a/crypto/camellia/cmll_cbc.c b/crypto/camellia/cmll_cbc.c index 400a248850..4c8d455ade 100644 --- a/crypto/camellia/cmll_cbc.c +++ b/crypto/camellia/cmll_cbc.c @@ -58,7 +58,7 @@ void Camellia_cbc_encrypt(const unsigned char *in, unsigned char *out, { if (enc) - CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block_f)Camellia_encrypt); + CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block128_f)Camellia_encrypt); else - CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block_f)Camellia_decrypt); + CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block128_f)Camellia_decrypt); } |