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>
This commit is contained in:
Dan Harkins 2018-05-25 21:40:04 +03:00 committed by Jouni Malinen
parent 2a5c291881
commit a8712ce5b3

View 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;