summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cmac/cmac.c
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:38:39 +0000
committermiod <>2014-04-27 20:38:39 +0000
commit081f318ce35fe17b57ed9584e47fdf6190b58423 (patch)
tree9c2cf3558c172f580c9f227f13c0bdcabae9e753 /src/lib/libcrypto/cmac/cmac.c
parent3bb237f84d383ea62df86e4affd171a1a6bbbf7f (diff)
downloadopenbsd-081f318ce35fe17b57ed9584e47fdf6190b58423.tar.gz
openbsd-081f318ce35fe17b57ed9584e47fdf6190b58423.tar.bz2
openbsd-081f318ce35fe17b57ed9584e47fdf6190b58423.zip
typo in comment
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);