Lines Matching refs:r_auth
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()
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()
1712 if (os_memcmp(r_auth, r_auth2, r_auth_len) != 0) { in dpp_auth_resp_rx()