summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2014-01-18 23:17:25 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2014-01-18 23:17:25 +0000
commit77d180f4aa6976be3093ac180461572f6f5fa6e1 (patch)
tree2ea22114e3e78ac4b2bbf61f72f56a5b25c1bc58 /sys/arch/amd64
parentd5bd7047f796d66dcb32530713f8ae2c2820a28d (diff)
tweak comments a bit
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/aesni.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/aesni.c b/sys/arch/amd64/amd64/aesni.c
index 4847b054bac..5ef36080817 100644
--- a/sys/arch/amd64/amd64/aesni.c
+++ b/sys/arch/amd64/amd64/aesni.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aesni.c,v 1.25 2013/03/26 15:47:01 jsing Exp $ */
+/* $OpenBSD: aesni.c,v 1.26 2014/01/18 23:17:24 mikeb Exp $ */
/*-
* Copyright (c) 2003 Jason Wright
* Copyright (c) 2003, 2004 Theo de Raadt
@@ -143,7 +143,7 @@ aesni_setup(void)
algs[CRYPTO_AES_GCM_16] = CRYPTO_ALG_FLAG_SUPPORTED;
algs[CRYPTO_AES_XTS] = CRYPTO_ALG_FLAG_SUPPORTED;
- /* Authentication algorithms. */
+ /* Authenticated encryption algorithms. */
algs[CRYPTO_AES_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED;
algs[CRYPTO_AES_128_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED;
algs[CRYPTO_AES_192_GMAC] = CRYPTO_ALG_FLAG_SUPPORTED;
@@ -157,6 +157,7 @@ aesni_setup(void)
algs[CRYPTO_SHA2_384_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED;
algs[CRYPTO_SHA2_512_HMAC] = CRYPTO_ALG_FLAG_SUPPORTED;
+ /* IPsec Extended Sequence Numbers. */
algs[CRYPTO_ESN] = CRYPTO_ALG_FLAG_SUPPORTED;
aesni_sc->sc_cid = crypto_get_driverid(0);