From a8712ce5b3c897964e26ec7040db72e0a85e11fa Mon Sep 17 00:00:00 2001 From: Dan Harkins Date: Fri, 25 May 2018 21:40:04 +0300 Subject: [PATCH] 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 --- src/eap_common/eap_pwd_common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/eap_common/eap_pwd_common.h b/src/eap_common/eap_pwd_common.h index 03e18d4d1..6b07cf8f7 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;