Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/common/
Ddpp_auth.c422 u8 r_auth[4 + DPP_MAX_HASH_LEN]; in dpp_auth_build_resp_ok() local
504 WPA_PUT_LE16(r_auth, DPP_ATTR_R_AUTH_TAG); in dpp_auth_build_resp_ok()
505 WPA_PUT_LE16(&r_auth[2], auth->curve->hash_len); in dpp_auth_build_resp_ok()
506 if (dpp_gen_r_auth(auth, r_auth + 4) < 0) in dpp_auth_build_resp_ok()
511 r_auth[4 + auth->curve->hash_len / 2] ^= 0x01; in dpp_auth_build_resp_ok()
515 r_auth, 4 + auth->curve->hash_len, in dpp_auth_build_resp_ok()
1414 *r_nonce, *i_nonce, *r_capab, *wrapped2, *r_auth; in dpp_auth_resp_rx() local
1699 r_auth = dpp_get_attr(unwrapped2, unwrapped2_len, DPP_ATTR_R_AUTH_TAG, in dpp_auth_resp_rx()
1701 if (!r_auth || r_auth_len != auth->curve->hash_len) { in dpp_auth_resp_rx()
1707 r_auth, r_auth_len); in dpp_auth_resp_rx()
[all …]
Ddpp_i.h107 int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth);
Ddpp_crypto.c1408 int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) in dpp_gen_r_auth() argument
1474 res = dpp_hash_vector(auth->curve, num_elem, addr, len, r_auth); in dpp_gen_r_auth()
1476 wpa_hexdump(MSG_DEBUG, "DPP: R-auth", r_auth, in dpp_gen_r_auth()