From owner-svn-src-head@freebsd.org Fri Jul 3 01:55:07 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEA4199355E; Fri, 3 Jul 2015 01:55:07 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a: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 A01042B96; Fri, 3 Jul 2015 01:55:07 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t631t7vP043180; Fri, 3 Jul 2015 01:55:07 GMT (envelope-from jmg@FreeBSD.org) Received: (from jmg@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t631t7B5043179; Fri, 3 Jul 2015 01:55:07 GMT (envelope-from jmg@FreeBSD.org) Message-Id: <201507030155.t631t7B5043179@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jmg set sender to jmg@FreeBSD.org using -f From: John-Mark Gurney Date: Fri, 3 Jul 2015 01:55:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285070 - head/share/man/man9 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 01:55:07 -0000 Author: jmg Date: Fri Jul 3 01:55:06 2015 New Revision: 285070 URL: https://svnweb.freebsd.org/changeset/base/285070 Log: more word smithing wrt the crd_inject field... We've already defined IV earlier, so no need to expand it a second time here... Modified: head/share/man/man9/crypto.9 Modified: head/share/man/man9/crypto.9 ============================================================================== --- head/share/man/man9/crypto.9 Fri Jul 3 01:52:22 2015 (r285069) +++ head/share/man/man9/crypto.9 Fri Jul 3 01:55:06 2015 (r285070) @@ -356,10 +356,12 @@ How many bytes, after .Va crd_skip , should be processed. .It Va crd_inject -Offset from the beginning of the buffer to insert any results. -For encryption algorithms, this is where the initialization vector -(IV) will be inserted when encrypting or where it can be found when -decrypting (subject to +The +.Va crd_inject +field specifies an offset in bytes from the beginning of the buffer. +For encryption algorithms, this may be where the IV will be inserted +when encrypting or where the IV may be found for +decryption (subject to .Va crd_flags ) . For MAC algorithms, this is where the result of the keyed hash will be inserted. @@ -393,7 +395,7 @@ provided by the consumer in the field. Otherwise, for encryption operations the IV is provided for by the driver used to perform the operation, whereas for decryption -operations it is pointed to by the +operations the offset of the IV is provided by the .Va crd_inject field. This flag is typically used when the IV is calculated