added IKEv2 Generic Secure Password Authentication Method

This commit is contained in:
Andreas Steffen 2012-04-03 12:49:05 +02:00
parent 5893d1b156
commit 4e5b7e09ee
2 changed files with 10 additions and 3 deletions

View File

@ -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.

View File

@ -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,
};
/**