summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cmac/cmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cmac/cmac.c')
-rw-r--r--src/lib/libcrypto/cmac/cmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/cmac/cmac.c b/src/lib/libcrypto/cmac/cmac.c
index 81188c8f5a..1f712ef544 100644
--- a/src/lib/libcrypto/cmac/cmac.c
+++ b/src/lib/libcrypto/cmac/cmac.c
@@ -266,7 +266,7 @@ int CMAC_resume(CMAC_CTX *ctx)
266 /* The buffer "tbl" containes the last fully encrypted block 266 /* The buffer "tbl" containes the last fully encrypted block
267 * which is the last IV (or all zeroes if no last encrypted block). 267 * which is the last IV (or all zeroes if no last encrypted block).
268 * The last block has not been modified since CMAC_final(). 268 * The last block has not been modified since CMAC_final().
269 * So reinitliasing using the last decrypted block will allow 269 * So reinitialising using the last decrypted block will allow
270 * CMAC to continue after calling CMAC_Final(). 270 * CMAC to continue after calling CMAC_Final().
271 */ 271 */
272 return EVP_EncryptInit_ex(&ctx->cctx, NULL, NULL, NULL, ctx->tbl); 272 return EVP_EncryptInit_ex(&ctx->cctx, NULL, NULL, NULL, ctx->tbl);