projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0cc46f
)
Typo.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 18 Apr 2011 21:01:24 +0000
(21:01 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 18 Apr 2011 21:01:24 +0000
(21:01 +0000)
crypto/modes/ccm128.c
patch
|
blob
|
history
diff --git
a/crypto/modes/ccm128.c
b/crypto/modes/ccm128.c
index f8746bbf154df110664d1c50dfce7fd70282ddef..8a833b25e593146c60b264e18a02edcf60e44e38 100644
(file)
--- a/
crypto/modes/ccm128.c
+++ b/
crypto/modes/ccm128.c
@@
-285,7
+285,7
@@
int CRYPTO_ccm128_decrypt(CCM128_CONTEXT *ctx,
if (len) {
(*block)(ctx->nonce.c,scratch.c,ctx->key);
- for (i=0; i<len; ++
len
)
+ for (i=0; i<len; ++
i
)
ctx->cmac.c[i] ^= (out[i] = scratch.c[i]^inp[i]);
(*block)(ctx->cmac.c,ctx->cmac.c,ctx->key);
}