From: Dan Harkins Date: Fri, 25 May 2018 18:40:04 +0000 (+0300) Subject: EAP-pwd: Pre-processing method definitions from RFC 8146 X-Git-Tag: hostap_2_7~320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8712ce5b3c897964e26ec7040db72e0a85e11fa;p=thirdparty%2Fhostap.git 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 --- 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;