Why can not find AES_ctr128_encrypt defination in openssl 1.1.0g?
AES_ctr128_encrypt is removed from openssl 1.1.0g
You can use CRYPTO_ctr128_encrypt instead of AES_ctr128_encrypt
AES_ctr128_encrypt(
in,
out,
len,
&cipher->aes_key->key,
cipher->aes_key->IV,
buffer,
&num); // removed from openssl 1.1.0g
CRYPTO_ctr128_encrypt(
in,
out,
len,
&cipher->aes_key->key,
cipher->aes_key->IV,
buffer,
&num,
(block128_f)AES_encrypt); // instead
在OpenSSL1.1.0g中,AES_ctr128_encrypt已被移除,应使用CRYPTO_ctr128_encrypt替代。本文详细解释了如何进行替换,并提供了具体的函数调用示例。
6508

被折叠的 条评论
为什么被折叠?



