PERFORCE change 1200968 for review
John-Mark Gurney
jmg at FreeBSD.org
Tue Sep 30 20:13:33 UTC 2014
http://p4web.freebsd.org/@@1200968?ac=10
Change 1200968 by jmg at jmg_carbon2 on 2014/09/30 20:13:09
specify digest size..
state that it's the descriptor...
Sponsored by: FreeBSD Foundation
Sponsored by: Netgate
Affected files ...
.. //depot/projects/opencrypto/share/man/man7/crypto.7#6 edit
Differences ...
==== //depot/projects/opencrypto/share/man/man7/crypto.7#6 (text+ko) ====
@@ -63,6 +63,8 @@
1
.It Key size :
16, 24 or 32
+.It Digest size :
+16
.El
.Pp
This algorithm implements Galois/Counter Mode.
@@ -73,11 +75,12 @@
.Dv CRYPTO_AES_128_NIST_GMAC ,
.Dv CRYPTO_AES_192_NIST_GMAC
or
-.Dv CRYPTO_AES_256_NIST_GMAC .
+.Dv CRYPTO_AES_256_NIST_GMAC ,
+that corresponds with the number of bits in the key that you are using.
.Pp
The associated data (if any) must be provided by the authentication mode op.
-The authentication tag will be read/written from/to the offset crd_inject of
-the authentication mode.
+The authentication tag will be read/written from/to the offset crd_inject
+specified in the descriptor for the authentication mode.
.Pp
Note: You must provide an IV on every call.
.It Dv CRYPTO_AES_ICM
More information about the p4-projects
mailing list