Searched refs:sae (Results 1 - 15 of 15) sorted by path

/freebsd-11-stable/contrib/wpa/src/ap/
H A Dctrl_iface_ap.c13 #include "common/sae.h"
270 if (sta->sae && sta->sae->state == SAE_ACCEPTED) {
272 sta->sae->group);
H A Dieee802_11.c23 #include "common/sae.h"
384 sae_state_txt(sta->sae->state), sae_state_txt(state),
386 sta->sae->state = state;
398 if (sta->sae->tmp)
399 rx_id = sta->sae->tmp->pw_id;
423 sta->sae) < 0) {
429 if (!sta->sae->tmp) {
434 sta->sae->tmp->vlan_id = pw->vlan_id;
441 sae_write_commit(sta->sae, buf, sta->sae
940 struct sae_data *sae = sta->sae; local
[all...]
H A Dsta_info.c15 #include "common/sae.h"
343 sae_clear_data(sta->sae);
344 os_free(sta->sae);
H A Dsta_info.h208 struct sae_data *sae; member in struct:sta_info
H A Dwpa_auth_glue.c15 #include "common/sae.h"
267 if (!sta->sae || prev_psk)
269 return sta->sae->pmk;
H A Dwps_hostapd.c537 int sae = 0; local
557 sae = 1;
563 if (sae && hapd->conf->ieee80211w == NO_MGMT_FRAME_PROTECTION) {
568 if (sae)
/freebsd-11-stable/contrib/wpa/src/common/
H A Dcommon_module_tests.c18 #include "sae.h"
256 struct sae_data sae; local
342 os_memset(&sae, 0, sizeof(sae));
345 sae_set_group(&sae, 19) < 0 ||
347 pwid, &sae) < 0)
351 crypto_bignum_deinit(sae.tmp->sae_rand, 1);
352 sae.tmp->sae_rand = crypto_bignum_init_set(local_rand,
355 if (!sae.tmp->sae_rand || !mask)
358 if (crypto_bignum_add(sae
[all...]
H A Dsae.c19 #include "sae.h"
22 int sae_set_group(struct sae_data *sae, int group) argument
35 sae_clear_data(sae);
36 tmp = sae->tmp = os_zalloc(sizeof(*tmp));
45 sae->group = group;
58 sae->group = group;
61 sae_clear_data(sae);
68 sae_clear_data(sae);
77 sae_clear_data(sae);
92 void sae_clear_temp_data(struct sae_data *sae) argument
116 sae_clear_data(struct sae_data *sae) argument
140 sae_test_pwd_seed_ecc(struct sae_data *sae, const u8 *pwd_seed, const u8 *prime, const u8 *qr, const u8 *qnr, u8 *pwd_value) argument
189 sae_test_pwd_seed_ffc(struct sae_data *sae, const u8 *pwd_seed, struct crypto_bignum *pwe) argument
276 sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, const char *identifier) argument
434 sae_derive_pwe_ffc(struct sae_data *sae, const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, const char *identifier) argument
528 sae_derive_commit_element_ecc(struct sae_data *sae, struct crypto_bignum *mask) argument
551 sae_derive_commit_element_ffc(struct sae_data *sae, struct crypto_bignum *mask) argument
574 sae_derive_commit(struct sae_data *sae) argument
597 sae_prepare_commit(const u8 *addr1, const u8 *addr2, const u8 *password, size_t password_len, const char *identifier, struct sae_data *sae) argument
614 sae_derive_k_ecc(struct sae_data *sae, u8 *k) argument
650 sae_derive_k_ffc(struct sae_data *sae, u8 *k) argument
688 sae_derive_keys(struct sae_data *sae, const u8 *k) argument
740 sae_process_commit(struct sae_data *sae) argument
752 sae_write_commit(struct sae_data *sae, struct wpabuf *buf, const struct wpabuf *token, const char *identifier) argument
800 sae_group_allowed(struct sae_data *sae, int *allowed_groups, u16 group) argument
852 sae_parse_commit_token(struct sae_data *sae, const u8 **pos, const u8 *end, const u8 **token, size_t *token_len) argument
909 sae_parse_commit_scalar(struct sae_data *sae, const u8 **pos, const u8 *end) argument
957 sae_parse_commit_element_ecc(struct sae_data *sae, const u8 **pos, const u8 *end) argument
1004 sae_parse_commit_element_ffc(struct sae_data *sae, const u8 **pos, const u8 *end) argument
1054 sae_parse_commit_element(struct sae_data *sae, const u8 **pos, const u8 *end) argument
1063 sae_parse_password_identifier(struct sae_data *sae, const u8 *pos, const u8 *end) argument
1101 sae_parse_commit(struct sae_data *sae, const u8 *data, size_t len, const u8 **token, size_t *token_len, int *allowed_groups) argument
1160 sae_cn_confirm(struct sae_data *sae, const u8 *sc, const struct crypto_bignum *scalar1, const u8 *element1, size_t element1_len, const struct crypto_bignum *scalar2, const u8 *element2, size_t element2_len, u8 *confirm) argument
1198 sae_cn_confirm_ecc(struct sae_data *sae, const u8 *sc, const struct crypto_bignum *scalar1, const struct crypto_ec_point *element1, const struct crypto_bignum *scalar2, const struct crypto_ec_point *element2, u8 *confirm) argument
1218 sae_cn_confirm_ffc(struct sae_data *sae, const u8 *sc, const struct crypto_bignum *scalar1, const struct crypto_bignum *element1, const struct crypto_bignum *scalar2, const struct crypto_bignum *element2, u8 *confirm) argument
1238 sae_write_confirm(struct sae_data *sae, struct wpabuf *buf) argument
1266 sae_check_confirm(struct sae_data *sae, const u8 *data, size_t len) argument
[all...]
H A Dsae.h64 int sae_set_group(struct sae_data *sae, int group);
65 void sae_clear_temp_data(struct sae_data *sae);
66 void sae_clear_data(struct sae_data *sae);
70 const char *identifier, struct sae_data *sae);
71 int sae_process_commit(struct sae_data *sae);
72 void sae_write_commit(struct sae_data *sae, struct wpabuf *buf,
74 u16 sae_parse_commit(struct sae_data *sae, const u8 *data, size_t len,
76 void sae_write_confirm(struct sae_data *sae, struct wpabuf *buf);
77 int sae_check_confirm(struct sae_data *sae, const u8 *data, size_t len);
78 u16 sae_group_allowed(struct sae_data *sae, in
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A DAndroid.mk243 OBJS += src/common/sae.c
H A Dctrl_iface.c2162 wpa_s->sme.sae.state == SAE_ACCEPTED) {
2164 wpa_s->sme.sae.group);
H A Dmesh_mpm.c349 if (sta->sae == NULL) {
612 (sta->sae && sta->sae->state > SAE_NOTHING)) {
1227 if (sta->sae && sta->sae->state != SAE_ACCEPTED) {
H A Dmesh_rsn.c37 if (sta->sae->state != SAE_ACCEPTED) {
55 sta->sae->state = SAE_NOTHING;
93 if (!sta->sae || prev_psk)
95 return sta->sae->pmk;
296 struct sae_data *sae)
309 if (sae_set_group(sae, group) == 0) {
311 sae->group);
335 if (mesh_rsn_sae_group(wpa_s, sta->sae) < 0) {
340 if (sta->sae->tmp && !sta->sae
295 mesh_rsn_sae_group(struct wpa_supplicant *wpa_s, struct sae_data *sae) argument
[all...]
H A Dsme.c18 #include "common/sae.h"
74 if (sae_set_group(&wpa_s->sme.sae, group) == 0) {
76 wpa_s->sme.sae.group);
118 if (reuse && wpa_s->sme.sae.tmp &&
119 os_memcmp(bssid, wpa_s->sme.sae.tmp->bssid, ETH_ALEN) == 0) {
132 &wpa_s->sme.sae) < 0) {
136 if (wpa_s->sme.sae.tmp)
137 os_memcpy(wpa_s->sme.sae.tmp->bssid, bssid, ETH_ALEN);
150 sae_write_commit(&wpa_s->sme.sae, buf, wpa_s->sme.sae_token,
170 sae_write_confirm(&wpa_s->sme.sae, bu
[all...]
H A Dwpa_supplicant_i.h15 #include "common/sae.h"
800 struct sae_data sae; member in struct:wpa_supplicant::__anon3784

Completed in 202 milliseconds