Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jul 2015 15:26:16 -0700
From:      Peter Wemm <peter@wemm.org>
To:        svn-src-all@freebsd.org
Cc:        "George V. Neville-Neil" <gnn@freebsd.org>, src-committers@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r285336 - in head/sys: netipsec opencrypto
Message-ID:  <15342729.MI2b1tqqeb@overcee.wemm.org>
In-Reply-To: <201507091816.t69IGawf097288@repo.freebsd.org>
References:  <201507091816.t69IGawf097288@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15342729.MI2b1tqqeb>