Home
last modified time | relevance | path

Searched refs:r_auth (Results 1 – 4 of 4) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_auth.c423 u8 r_auth[4 + DPP_MAX_HASH_LEN]; in dpp_auth_build_resp_ok() local
505 WPA_PUT_LE16(r_auth, DPP_ATTR_R_AUTH_TAG); in dpp_auth_build_resp_ok()
506 WPA_PUT_LE16(&r_auth[2], auth->curve->hash_len); in dpp_auth_build_resp_ok()
507 if (dpp_gen_r_auth(auth, r_auth + 4) < 0) in dpp_auth_build_resp_ok()
512 r_auth[4 + auth->curve->hash_len / 2] ^= 0x01; in dpp_auth_build_resp_ok()
516 r_auth, 4 + auth->curve->hash_len, in dpp_auth_build_resp_ok()
1413 *r_nonce, *i_nonce, *r_capab, *wrapped2, *r_auth; in dpp_auth_resp_rx() local
1698 r_auth = dpp_get_attr(unwrapped2, unwrapped2_len, DPP_ATTR_R_AUTH_TAG, in dpp_auth_resp_rx()
1700 if (!r_auth || r_auth_len != auth->curve->hash_len) { in dpp_auth_resp_rx()
1706 r_auth, r_auth_len); in dpp_auth_resp_rx()
[all …]
Ddpp_i.h104 int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth);
Ddpp_crypto.c865 int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) in dpp_gen_r_auth() argument
935 res = dpp_hash_vector(auth->curve, num_elem, addr, len, r_auth); in dpp_gen_r_auth()
937 wpa_hexdump(MSG_DEBUG, "DPP: R-auth", r_auth, in dpp_gen_r_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.c2532 static int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) in dpp_gen_r_auth() argument
2598 res = dpp_hash_vector(auth->curve, num_elem, addr, len, r_auth); in dpp_gen_r_auth()
2600 wpa_hexdump(MSG_DEBUG, "DPP: R-auth", r_auth, in dpp_gen_r_auth()
2827 u8 r_auth[4 + DPP_MAX_HASH_LEN]; in dpp_auth_build_resp_ok() local
2909 WPA_PUT_LE16(r_auth, DPP_ATTR_R_AUTH_TAG); in dpp_auth_build_resp_ok()
2910 WPA_PUT_LE16(&r_auth[2], auth->curve->hash_len); in dpp_auth_build_resp_ok()
2911 if (dpp_gen_r_auth(auth, r_auth + 4) < 0) in dpp_auth_build_resp_ok()
2916 r_auth[4 + auth->curve->hash_len / 2] ^= 0x01; in dpp_auth_build_resp_ok()
2920 r_auth, 4 + auth->curve->hash_len, in dpp_auth_build_resp_ok()
3647 *r_nonce, *i_nonce, *r_capab, *wrapped2, *r_auth; in dpp_auth_resp_rx() local
[all …]