diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-18 21:01:24 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-18 21:01:24 +0000 |
commit | 98279c162963808e051cfced2ca888156e9b6124 (patch) | |
tree | 141c1867715b6e899eb054effd79ca964ca8674f /crypto/modes | |
parent | a0cc46f8e43a2f22403d12cbfe46e9469fa44b53 (diff) |
Typo.
Diffstat (limited to 'crypto/modes')
-rw-r--r-- | crypto/modes/ccm128.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/modes/ccm128.c b/crypto/modes/ccm128.c index f8746bbf15..8a833b25e5 100644 --- 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); } |