Searched refs:r_auth (Results 1 – 3 of 3) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | dpp_auth.c | 423 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() 1415 *r_nonce, *i_nonce, *r_capab, *wrapped2, *r_auth; in dpp_auth_resp_rx() local 1700 r_auth = dpp_get_attr(unwrapped2, unwrapped2_len, DPP_ATTR_R_AUTH_TAG, in dpp_auth_resp_rx() 1702 if (!r_auth || r_auth_len != auth->curve->hash_len) { in dpp_auth_resp_rx() 1708 r_auth, r_auth_len); in dpp_auth_resp_rx() [all …]
|
D | dpp_i.h | 108 int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth);
|
D | dpp_crypto.c | 1422 int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) in dpp_gen_r_auth() argument 1488 res = dpp_hash_vector(auth->curve, num_elem, addr, len, r_auth); in dpp_gen_r_auth() 1490 wpa_hexdump(MSG_DEBUG, "DPP: R-auth", r_auth, in dpp_gen_r_auth()
|