summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/parse.y
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2012-06-30 14:51:32 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2012-06-30 14:51:32 +0000
commit9c052f54ffb5f0dab460bfdaf0d03887ab06f0b4 (patch)
treecdf38cf211a7fa8ccf5c79b9943e547cee0e77b5 /sbin/ipsecctl/parse.y
parent41fc90c12d4733d36be15546cee99c4611bcaf51 (diff)
enable use of AES-{192,256}-CTR, and explicitly of AES-128-CTR, for IPsec ESP
ok mikeb@
Diffstat (limited to 'sbin/ipsecctl/parse.y')
-rw-r--r--sbin/ipsecctl/parse.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y
index ab50af0c66c..1d096a6c0ae 100644
--- a/sbin/ipsecctl/parse.y
+++ b/sbin/ipsecctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.152 2011/12/20 13:27:51 mikeb Exp $ */
+/* $OpenBSD: parse.y,v 1.153 2012/06/30 14:51:31 naddy Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -107,6 +107,9 @@ const struct ipsec_xf encxfs[] = {
{ "aes-192", ENCXF_AES_192, 24, 24, 0 },
{ "aes-256", ENCXF_AES_256, 32, 32, 0 },
{ "aesctr", ENCXF_AESCTR, 16+4, 32+4, 0 },
+ { "aes-128-ctr", ENCXF_AES_128_CTR, 16+4, 16+4, 0 },
+ { "aes-192-ctr", ENCXF_AES_192_CTR, 24+4, 24+4, 0 },
+ { "aes-256-ctr", ENCXF_AES_256_CTR, 32+4, 32+4, 0 },
{ "aes-128-gcm", ENCXF_AES_128_GCM, 16+4, 16+4, 1 },
{ "aes-192-gcm", ENCXF_AES_192_GCM, 24+4, 24+4, 1 },
{ "aes-256-gcm", ENCXF_AES_256_GCM, 32+4, 32+4, 1 },