summaryrefslogtreecommitdiffstats
path: root/doc/man1
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-09-22 09:19:05 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-01-07 09:22:08 +1000
commit1242f3c798db340397186e178023f1a9fe297df0 (patch)
tree87a33d8a616b676ff01c17c7640573cea3a67372 /doc/man1
parent0081ce9b0201417cf2b35792a2a199e36acadcf2 (diff)
Fix KMAC docs
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/9970)
Diffstat (limited to 'doc/man1')
-rw-r--r--doc/man1/openssl-mac.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man1/openssl-mac.pod b/doc/man1/openssl-mac.pod
index f5be58bcb2..e5ec76395e 100644
--- a/doc/man1/openssl-mac.pod
+++ b/doc/man1/openssl-mac.pod
@@ -87,7 +87,7 @@ printable characters only).
Used by GMAC to specify an IV in hexadecimal form (two hex digits per byte).
-=item B<outlen:>I<int>
+=item B<size:>I<int>
Used by KMAC128 or KMAC256 to specify an output length.
The default sizes are 32 or 64 bytes respectively.
@@ -127,7 +127,7 @@ To create a hex-encoded CMAC-AES-128-CBC MAC from a file:\
To create a hex-encoded KMAC128 MAC from a file with a Customisation String
'Tag' and output length of 16: \
openssl mac -macopt custom:Tag -macopt hexkey:40414243444546 \
- -macopt outlen:16 -in msg.bin KMAC128
+ -macopt size:16 -in msg.bin KMAC128
To create a hex-encoded GMAC-AES-128-GCM with a IV from a file: \
openssl mac -macopt cipher:AES-128-GCM -macopt hexiv:E0E00F19FED7BA0136A797F3 \