]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EAP-pwd: Pre-processing method definitions from RFC 8146
authorDan Harkins <dharkins@lounge.org>
Fri, 25 May 2018 18:40:04 +0000 (21:40 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 28 May 2018 14:15:07 +0000 (17:15 +0300)
Add new password pre-processing method definitions in preparation for
salted passwords with EAP-pwd.

Signed-off-by: Dan Harkins <dharkins@lounge.org>
src/eap_common/eap_pwd_common.h

index 03e18d4d170f51139ed42a0fc16345812ec68087..6b07cf8f797c8d6aa34c3e8789a01bc796d2015c 100644 (file)
@@ -46,6 +46,9 @@ struct eap_pwd_id {
        u8 prep;
 #define EAP_PWD_PREP_NONE               0
 #define EAP_PWD_PREP_MS                 1
+#define EAP_PWD_PREP_SSHA1              3
+#define EAP_PWD_PREP_SSHA256            4
+#define EAP_PWD_PREP_SSHA512            5
        u8 identity[0];     /* length inferred from payload */
 } STRUCT_PACKED;