From owner-p4-projects@FreeBSD.ORG Tue Sep 30 20:13:33 2014 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 82F518F0; Tue, 30 Sep 2014 20:13:33 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 438EB8EE for ; Tue, 30 Sep 2014 20:13:33 +0000 (UTC) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:1900:2254:2068::682:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 300AC6A8 for ; Tue, 30 Sep 2014 20:13:33 +0000 (UTC) Received: from skunkworks.freebsd.org ([127.0.1.74]) by skunkworks.freebsd.org (8.14.9/8.14.9) with ESMTP id s8UKDX2x000586 for ; Tue, 30 Sep 2014 20:13:33 GMT (envelope-from jmg@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.9/8.14.9/Submit) id s8UKDX4K000583 for perforce@freebsd.org; Tue, 30 Sep 2014 20:13:33 GMT (envelope-from jmg@freebsd.org) Date: Tue, 30 Sep 2014 20:13:33 GMT Message-Id: <201409302013.s8UKDX4K000583@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to jmg@freebsd.org using -f From: John-Mark Gurney Subject: PERFORCE change 1200968 for review To: Perforce Change Reviews Precedence: bulk X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.18-1 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 20:13:33 -0000 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