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
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue