Date: Tue, 30 Sep 2014 20:13:33 GMT From: John-Mark Gurney <jmg@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 1200968 for review Message-ID: <201409302013.s8UKDX4K000583@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@1200968?ac=10 Change 1200968 by jmg@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409302013.s8UKDX4K000583>