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);
}
{
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);
}