diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-04-03 12:49:05 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-04-03 12:49:05 +0200 |
commit | 4e5b7e09ee0ca3034087d832f609389db427f6c6 (patch) | |
tree | d650c02c3c0dba7201d1c00821966c03295c82bd /src | |
parent | 5893d1b1567f4b57ecdd007f6673488b4c4e2f6b (diff) | |
download | strongswan-4e5b7e09ee0ca3034087d832f609389db427f6c6.tar.bz2 strongswan-4e5b7e09ee0ca3034087d832f609389db427f6c6.tar.xz |
added IKEv2 Generic Secure Password Authentication Method
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/sa/authenticators/authenticator.c | 7 | ||||
-rw-r--r-- | src/libcharon/sa/authenticators/authenticator.h | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/libcharon/sa/authenticators/authenticator.c b/src/libcharon/sa/authenticators/authenticator.c index 83f5fbaad..9ffe661cc 100644 --- a/src/libcharon/sa/authenticators/authenticator.c +++ b/src/libcharon/sa/authenticators/authenticator.c @@ -28,11 +28,12 @@ ENUM_BEGIN(auth_method_names, AUTH_RSA, AUTH_DSS, "RSA signature", "pre-shared key", "DSS signature"); -ENUM_NEXT(auth_method_names, AUTH_ECDSA_256, AUTH_ECDSA_521, AUTH_DSS, +ENUM_NEXT(auth_method_names, AUTH_ECDSA_256, AUTH_GSPM, AUTH_DSS, "ECDSA-256 signature", "ECDSA-384 signature", - "ECDSA-521 signature"); -ENUM_END(auth_method_names, AUTH_ECDSA_521); + "ECDSA-521 signature", + "secure password method"); +ENUM_END(auth_method_names, AUTH_GSPM); /** * Described in header. diff --git a/src/libcharon/sa/authenticators/authenticator.h b/src/libcharon/sa/authenticators/authenticator.h index d27e006a3..5042e4a73 100644 --- a/src/libcharon/sa/authenticators/authenticator.h +++ b/src/libcharon/sa/authenticators/authenticator.h @@ -67,6 +67,12 @@ enum auth_method_t { * ECDSA with SHA-512 on the P-521 curve as specified in RFC 4754 */ AUTH_ECDSA_521 = 11, + + /** + * Generic Secure Password Authentication Method as specified in RFC 6467 + */ + AUTH_GSPM = 12, + }; /** |