projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ef6fe8
)
oops, make EVP ctr mode work again
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 7 Mar 2010 15:52:41 +0000
(15:52 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 7 Mar 2010 15:52:41 +0000
(15:52 +0000)
crypto/evp/e_aes.c
patch
|
blob
|
history
diff --git
a/crypto/evp/e_aes.c
b/crypto/evp/e_aes.c
index eacc306fb4087c98628925a143768d164cce8e42..20963996313f342d9725bff592b6d6c953d8cd1e 100644
(file)
--- a/
crypto/evp/e_aes.c
+++ b/
crypto/evp/e_aes.c
@@
-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);