svn commit: r285347 - head/sys/netipsec

George V. Neville-Neil gnn at FreeBSD.org
Fri Jul 10 02:23:51 UTC 2015


Author: gnn
Date: Fri Jul 10 02:23:50 2015
New Revision: 285347
URL: https://svnweb.freebsd.org/changeset/base/285347

Log:
  Summary: Fix LINT build.  The names of the new AES modes were not
  correctly used under the REGRESSION kernel option.

Modified:
  head/sys/netipsec/xform_esp.c

Modified: head/sys/netipsec/xform_esp.c
==============================================================================
--- head/sys/netipsec/xform_esp.c	Fri Jul 10 00:01:33 2015	(r285346)
+++ head/sys/netipsec/xform_esp.c	Fri Jul 10 02:23:50 2015	(r285347)
@@ -989,9 +989,9 @@ esp_output_cb(struct cryptop *crp)
 			case CRYPTO_SHA2_512_HMAC:
 				alen = esph->hashsize/2;
 				break;
-			case CRYPTO_AES_128_GMAC:
-			case CRYPTO_AES_192_GMAC:
-			case CRYPTO_AES_256_GMAC:
+			case CRYPTO_AES_128_NIST_GMAC:
+			case CRYPTO_AES_192_NIST_GMAC:
+			case CRYPTO_AES_256_NIST_GMAC:
 				alen = esph->hashsize;
 				break;
 			default:


More information about the svn-src-head mailing list