From owner-svn-src-head@freebsd.org Thu Jul 9 22:26:22 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 4E92735C1; Thu, 9 Jul 2015 22:26:22 +0000 (UTC) (envelope-from peter@wemm.org) Received: from smtp2.wemm.org (smtp2.wemm.org [IPv6:2001:470:67:39d::78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.wemm.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 37509BDD; Thu, 9 Jul 2015 22:26:22 +0000 (UTC) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (canning.wemm.org [192.203.228.65]) by smtp2.wemm.org (Postfix) with ESMTP id C3A8B382; Thu, 9 Jul 2015 15:26:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=m20140428; t=1436480781; bh=h570T6EB9IjHEloKvAM8BNF7RcOBCpJU5qSyyBt0V4o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=NpTpGykNuboVnMRxZyckkIWZ3KDjribjhNJovVmutF15KAgNfo/YcGTwRdIsIndbg lMzg6ZGPszPYNaYF/L/Nk5BSjeWkoDPckHvvI6dH078LAH1hvZ/dlMk3H33ZCA89Lh ZXMslPVusz7wqg0sc9dhMtWdwNl560YHjS9FIKI0= From: Peter Wemm To: svn-src-all@freebsd.org Cc: "George V. Neville-Neil" , src-committers@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r285336 - in head/sys: netipsec opencrypto Date: Thu, 09 Jul 2015 15:26:16 -0700 Message-ID: <15342729.MI2b1tqqeb@overcee.wemm.org> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-Reply-To: <201507091816.t69IGawf097288@repo.freebsd.org> References: <201507091816.t69IGawf097288@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8714517.QeEQxtmWbV"; micalg="pgp-sha256"; protocol="application/pgp-signature" 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: Thu, 09 Jul 2015 22:26:22 -0000 --nextPart8714517.QeEQxtmWbV Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Thursday, July 09, 2015 06:16:36 PM George V. Neville-Neil wrote: > Author: gnn > Date: Thu Jul 9 18:16:35 2015 > New Revision: 285336 > URL: https://svnweb.freebsd.org/changeset/base/285336 >=20 > Log: > Add support for AES modes to IPSec. These modes work both in softw= are > only mode and with hardware support on systems that have AESNI > instructions. >=20 > Differential Revision:=09D2936 > Reviewed by:=09jmg, eri, cognet > Sponsored by:=09Rubicon Communications (Netgate) >=20 > Modified: > head/sys/netipsec/xform_ah.c > head/sys/netipsec/xform_esp.c > @@ -953,6 +989,11 @@ esp_output_cb(struct cryptop *crp) > =09=09=09case CRYPTO_SHA2_512_HMAC: > =09=09=09=09alen =3D esph->hashsize/2; > =09=09=09=09break; > +=09=09=09case CRYPTO_AES_128_GMAC: > +=09=09=09case CRYPTO_AES_192_GMAC: > +=09=09=09case CRYPTO_AES_256_GMAC: > +=09=09=09=09alen =3D esph->hashsize; > +=09=09=09=09break; > =09=09=09default: > =09=09=09=09alen =3D AH_HMAC_HASHLEN; > =09=09=09=09break; This introduces a LINT compile failure: /usr/src/sys/netipsec/xform_esp.c:992:9: error: use of undeclared ident= ifier=20 'CRYPTO_AES_128_GMAC' case CRYPTO_AES_128_GMAC: ^ /usr/src/sys/netipsec/xform_esp.c:993:9: error: use of undeclared ident= ifier=20 'CRYPTO_AES_192_GMAC' case CRYPTO_AES_192_GMAC: ^ /usr/src/sys/netipsec/xform_esp.c:994:9: error: use of undeclared ident= ifier=20 'CRYPTO_AES_256_GMAC' case CRYPTO_AES_256_GMAC: ^ 3 errors generated. =2D-- xform_esp.o --- =2D-=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI= 6FJV UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246 --nextPart8714517.QeEQxtmWbV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVnvUIAAoJEDXWlwnsgJ4EyQ0H/Rj3A61gyAlr0patyEJm70ur eOFtW4uEmDPW6uUOyu4nKU9Y3MFtoc952BpdH7fysd3wd7rjzW4sFbDQxDjVd3Xh 1kdjUidpOXmTp4F2fJE3DxU8ogvQ8aU6yl6jtm8J1fiHftLGolIFFys65i59Do1H 6/ppZ+xiP5TH1TgeYzGKG7u+e4g6pepGbBiBU5jvqK1UoU0Q1hD/rBpxS3adb+0y 8NLlpE4MM/X3+Ems/+su88AepH2Vqu54OFpYPigsaFaRExVsj366W97h8Hye9M4G F7sm4rH5oxB8m6yJyL5omSDkoh9T9UIWFm21LZDdJqONb/ZE7NG6WNhVdCh5aW0= =gkb3 -----END PGP SIGNATURE----- --nextPart8714517.QeEQxtmWbV--