summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRyan Riske <ryanriske@gmail.com>2014-05-24 23:59:54 -0500
committerRyan Riske <ryanriske@gmail.com>2014-05-25 00:02:12 -0500
commit9554319f0bb7517793d2ee4db281a968416c8d53 (patch)
tree6553157feec9284949a1d76770419737cb775204 /templates
parent86fa605e0f2bd5289e135162fb43afb366eeee64 (diff)
downloadvyatta-cfg-vpn-9554319f0bb7517793d2ee4db281a968416c8d53.tar.gz
vyatta-cfg-vpn-9554319f0bb7517793d2ee4db281a968416c8d53.zip
Bug 220: Add support for SHA2 hashes
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def5
-rw-r--r--templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def5
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def b/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def
index 681f008..7d5651c 100644
--- a/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def
+++ b/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def
@@ -1,6 +1,9 @@
help: Hash algorithm
type: txt
default: "sha1"
-syntax:expression: $VAR(@) in "md5", "sha1"; "must be md5 or sha1"
+syntax:expression: $VAR(@) in "md5", "sha1", "sha256", "sha384", "sha512"; "must be md5, sha1, sha256, sha384 or sha512"
val_help: md5; MD5 hash
val_help: sha1; SHA1 hash (default)
+val_help: sha256; SHA2-256 hash
+val_help: sha384; SHA2-384 hash
+val_help: sha512; SHA2-512 hash
diff --git a/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def b/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def
index 681f008..7d5651c 100644
--- a/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def
+++ b/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def
@@ -1,6 +1,9 @@
help: Hash algorithm
type: txt
default: "sha1"
-syntax:expression: $VAR(@) in "md5", "sha1"; "must be md5 or sha1"
+syntax:expression: $VAR(@) in "md5", "sha1", "sha256", "sha384", "sha512"; "must be md5, sha1, sha256, sha384 or sha512"
val_help: md5; MD5 hash
val_help: sha1; SHA1 hash (default)
+val_help: sha256; SHA2-256 hash
+val_help: sha384; SHA2-384 hash
+val_help: sha512; SHA2-512 hash