oops, make EVP ctr mode work again
This commit is contained in:
parent
9ef6fe8c2e
commit
49436b59b5
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue