Lines Matching refs:r_auth
1885 static int dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) in dpp_gen_r_auth() argument
1951 res = dpp_hash_vector(auth->curve, num_elem, addr, len, r_auth); in dpp_gen_r_auth()
1953 wpa_hexdump(MSG_DEBUG, "DPP: R-auth", r_auth, in dpp_gen_r_auth()
2148 u8 r_auth[4 + DPP_MAX_HASH_LEN]; in dpp_auth_build_resp_ok() local
2230 WPA_PUT_LE16(r_auth, DPP_ATTR_R_AUTH_TAG); in dpp_auth_build_resp_ok()
2231 WPA_PUT_LE16(&r_auth[2], auth->curve->hash_len); in dpp_auth_build_resp_ok()
2232 if (dpp_gen_r_auth(auth, r_auth + 4) < 0) in dpp_auth_build_resp_ok()
2237 r_auth[4 + auth->curve->hash_len / 2] ^= 0x01; in dpp_auth_build_resp_ok()
2241 r_auth, 4 + auth->curve->hash_len, in dpp_auth_build_resp_ok()
2955 *r_nonce, *i_nonce, *r_capab, *wrapped2, *r_auth; in dpp_auth_resp_rx() local
3214 r_auth = dpp_get_attr(unwrapped2, unwrapped2_len, DPP_ATTR_R_AUTH_TAG, in dpp_auth_resp_rx()
3216 if (!r_auth || r_auth_len != auth->curve->hash_len) { in dpp_auth_resp_rx()
3222 r_auth, r_auth_len); in dpp_auth_resp_rx()
3228 if (os_memcmp(r_auth, r_auth2, r_auth_len) != 0) { in dpp_auth_resp_rx()