diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2012-06-30 14:51:32 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2012-06-30 14:51:32 +0000 |
commit | 9c052f54ffb5f0dab460bfdaf0d03887ab06f0b4 (patch) | |
tree | cdf38cf211a7fa8ccf5c79b9943e547cee0e77b5 /sbin/iked/parse.y | |
parent | 41fc90c12d4733d36be15546cee99c4611bcaf51 (diff) |
enable use of AES-{192,256}-CTR, and explicitly of AES-128-CTR, for IPsec ESP
ok mikeb@
Diffstat (limited to 'sbin/iked/parse.y')
-rw-r--r-- | sbin/iked/parse.y | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/iked/parse.y b/sbin/iked/parse.y index afb6484544a..1f55419dd88 100644 --- a/sbin/iked/parse.y +++ b/sbin/iked/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.25 2012/06/29 15:05:49 mikeb Exp $ */ +/* $OpenBSD: parse.y,v 1.26 2012/06/30 14:51:31 naddy Exp $ */ /* $vantronix: parse.y,v 1.22 2010/06/03 11:08:34 reyk Exp $ */ /* @@ -152,7 +152,9 @@ const struct ipsec_xf ipsecencxfs[] = { { "aes-128", IKEV2_XFORMENCR_AES_CBC, 16, 16 }, { "aes-192", IKEV2_XFORMENCR_AES_CBC, 24, 24 }, { "aes-256", IKEV2_XFORMENCR_AES_CBC, 32, 32 }, - { "aes-ctr", IKEV2_XFORMENCR_AES_CTR, 16, 16, 4 }, + { "aes-128-ctr", IKEV2_XFORMENCR_AES_CTR, 16, 16, 4 }, + { "aes-192-ctr", IKEV2_XFORMENCR_AES_CTR, 24, 24, 4 }, + { "aes-256-ctr", IKEV2_XFORMENCR_AES_CTR, 32, 32, 4 }, { "aes-128-gcm", IKEV2_XFORMENCR_AES_GCM_16, 16, 16, 4, 1 }, { "aes-192-gcm", IKEV2_XFORMENCR_AES_GCM_16, 24, 24, 4, 1 }, { "aes-256-gcm", IKEV2_XFORMENCR_AES_GCM_16, 32, 32, 4, 1 }, |