aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Harkins <dharkins@lounge.org>2018-05-25 18:40:04 (GMT)
committerJouni Malinen <j@w1.fi>2018-05-28 14:15:07 (GMT)
commita8712ce5b3c897964e26ec7040db72e0a85e11fa (patch)
tree8922600fa4f7bcb81866d5b5f7e53d575fdc3731
parent2a5c291881fa819325d0287d0763776edfcb1943 (diff)
downloadhostap-a8712ce5b3c897964e26ec7040db72e0a85e11fa.zip
hostap-a8712ce5b3c897964e26ec7040db72e0a85e11fa.tar.gz
hostap-a8712ce5b3c897964e26ec7040db72e0a85e11fa.tar.bz2
EAP-pwd: Pre-processing method definitions from RFC 8146
Add new password pre-processing method definitions in preparation for salted passwords with EAP-pwd. Signed-off-by: Dan Harkins <dharkins@lounge.org>
-rw-r--r--src/eap_common/eap_pwd_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eap_common/eap_pwd_common.h b/src/eap_common/eap_pwd_common.h
index 03e18d4..6b07cf8 100644
--- a/src/eap_common/eap_pwd_common.h
+++ b/src/eap_common/eap_pwd_common.h
@@ -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;