summaryrefslogtreecommitdiffstats
path: root/crypto/cmac
diff options
context:
space:
mode:
authorfisher.yu <fisher.yu@arm.com>2023-06-12 00:59:42 +0000
committerTomas Mraz <tomas@openssl.org>2023-06-12 08:36:08 +0200
commite8dc77f85f251752258203cf9cbfa077fd8b3173 (patch)
tree23fe4729b59b0ca0158ea3f7c2492c9006368dda /crypto/cmac
parentce451fb86141fedad607bd68840639b06616047e (diff)
Update CMAC test cases.
1. Update cmac test cases, fullfilling test data by short string instead of using long string directly. 2. Modify the wording of comments in cmac.c Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21177)
Diffstat (limited to 'crypto/cmac')
-rw-r--r--crypto/cmac/cmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cmac/cmac.c b/crypto/cmac/cmac.c
index 961df0d719..f8823f4aa9 100644
--- a/crypto/cmac/cmac.c
+++ b/crypto/cmac/cmac.c
@@ -196,7 +196,7 @@ int CMAC_Update(CMAC_CTX *ctx, const void *in, size_t dlen)
cipher_blocks = (dlen - 1) / bl;
if (max_burst_blocks == 0) {
/*
- * In case block length is greater than local buffer size,
+ * When block length is greater than local buffer size,
* use ctx->tbl as cipher output.
*/
while (dlen > (size_t)bl) {