mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-31 09:14:03 -05:00
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:
parent
2a5c291881
commit
a8712ce5b3
@ -46,6 +46,9 @@ struct eap_pwd_id {
|
|||||||
u8 prep;
|
u8 prep;
|
||||||
#define EAP_PWD_PREP_NONE 0
|
#define EAP_PWD_PREP_NONE 0
|
||||||
#define EAP_PWD_PREP_MS 1
|
#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 */
|
u8 identity[0]; /* length inferred from payload */
|
||||||
} STRUCT_PACKED;
|
} STRUCT_PACKED;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user