Lines Matching refs:sae_data
20 int sae_set_group(struct sae_data *sae, int group)
73 void sae_clear_temp_data(struct sae_data *sae)
96 void sae_clear_data(struct sae_data *sae)
115 static struct crypto_bignum * sae_get_rand(struct sae_data *sae)
148 static struct crypto_bignum * sae_get_rand_and_mask(struct sae_data *sae)
202 static int is_quadratic_residue_blind(struct sae_data *sae,
261 static int sae_test_pwd_seed_ecc(struct sae_data *sae, const u8 *pwd_seed,
310 static int sae_test_pwd_seed_ffc(struct sae_data *sae, const u8 *pwd_seed,
418 static int sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1,
545 static int sae_derive_pwe_ffc(struct sae_data *sae, const u8 *addr1,
603 static int sae_derive_commit_element_ecc(struct sae_data *sae,
626 static int sae_derive_commit_element_ffc(struct sae_data *sae,
649 static int sae_derive_commit(struct sae_data *sae)
699 struct sae_data *sae)
712 static int sae_derive_k_ecc(struct sae_data *sae, u8 *k)
748 static int sae_derive_k_ffc(struct sae_data *sae, u8 *k)
786 static int sae_derive_keys(struct sae_data *sae, const u8 *k)
832 int sae_process_commit(struct sae_data *sae)
844 void sae_write_commit(struct sae_data *sae, struct wpabuf *buf,
882 u16 sae_group_allowed(struct sae_data *sae, int *allowed_groups, u16 group)
924 static void sae_parse_commit_token(struct sae_data *sae, const u8 **pos,
946 static u16 sae_parse_commit_scalar(struct sae_data *sae, const u8 **pos,
994 static u16 sae_parse_commit_element_ecc(struct sae_data *sae, const u8 *pos,
1039 static u16 sae_parse_commit_element_ffc(struct sae_data *sae, const u8 *pos,
1087 static u16 sae_parse_commit_element(struct sae_data *sae, const u8 *pos,
1096 u16 sae_parse_commit(struct sae_data *sae, const u8 *data, size_t len,
1150 static void sae_cn_confirm(struct sae_data *sae, const u8 *sc,
1188 static void sae_cn_confirm_ecc(struct sae_data *sae, const u8 *sc,
1208 sae_data *sae, const u8 *sc,
1228 void sae_write_confirm(struct sae_data *sae, struct wpabuf *buf)
1255 int sae_check_confirm(struct sae_data *sae, const u8 *data, size_t len)