提交 49436b59 编写于 作者: D Dr. Stephen Henson

oops, make EVP ctr mode work again

上级 9ef6fe8c
......@@ -100,6 +100,7 @@ static int aes_counter (EVP_CIPHER_CTX *ctx, unsigned char *out,
const unsigned char *in, size_t len)
{
unsigned int num;
num = ctx->num;
AES_ctr128_encrypt (in,out,len,
&((EVP_AES_KEY *)ctx->cipher_data)->ks,
ctx->iv,ctx->buf,&num);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册