summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfisher.yu <fisher.yu@arm.com>2023-05-22 13:29:12 +0000
committerPauli <pauli@openssl.org>2023-06-09 09:08:27 +1000
commitfd54fadba6bc138fb35a82c033c540f7e97322c8 (patch)
tree7b3ce8d5632f507bc98957158d0bc05e97658906 /doc
parent247f307f7201b5cf7ebfc17758f4cc7ffae14536 (diff)
Update CMAC cipher algorithm list and test cases.
1. Update manual, add SM4-CBC to CMAC cipher algorithm list. 2. Add test case for SM4-CBC CMAC, add "data length is greater than 4 block-length" cases for aes-128-cbc, aes-192-cbc, aes-256-cbc and des-ede3-cbc. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21102)
Diffstat (limited to 'doc')
-rw-r--r--doc/man1/openssl-mac.pod.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/man1/openssl-mac.pod.in b/doc/man1/openssl-mac.pod.in
index 452c546637..aa00ebcc83 100644
--- a/doc/man1/openssl-mac.pod.in
+++ b/doc/man1/openssl-mac.pod.in
@@ -48,8 +48,7 @@ Output the MAC in binary form. Uses hexadecimal text format if not specified.
=item B<-cipher> I<name>
Used by CMAC and GMAC to specify the cipher algorithm.
-For CMAC it must be one of AES-128-CBC, AES-192-CBC, AES-256-CBC or
-DES-EDE3-CBC.
+For CMAC it should be a CBC mode cipher e.g. AES-128-CBC.
For GMAC it should be a GCM mode cipher e.g. AES-128-GCM.
=item B<-digest> I<name>