Lines Matching refs:r_nonce

912 	os_memcpy(&nonces[nonce_len], auth->r_nonce, nonce_len);  in dpp_derive_ke()
1143 const u8 *r_nonce, const u8 *i_nonce, in dpp_auth_build_resp() argument
1202 if (r_nonce) { in dpp_auth_build_resp()
1208 os_memcpy(pos, r_nonce, nonce_len); in dpp_auth_build_resp()
1922 addr[num_elem] = auth->r_nonce; in dpp_gen_r_auth()
2000 addr[num_elem] = auth->r_nonce; in dpp_gen_i_auth()
2152 const u8 *r_pubkey_hash, *i_pubkey_hash, *r_nonce, *i_nonce; in dpp_auth_build_resp_ok() local
2166 os_memcpy(auth->r_nonce, dpp_nonce_override, nonce_len); in dpp_auth_build_resp_ok()
2169 if (random_get_bytes(auth->r_nonce, nonce_len)) { in dpp_auth_build_resp_ok()
2177 if (random_get_bytes(auth->r_nonce, nonce_len)) { in dpp_auth_build_resp_ok()
2182 wpa_hexdump(MSG_DEBUG, "DPP: R-nonce", auth->r_nonce, nonce_len); in dpp_auth_build_resp_ok()
2256 r_nonce = auth->r_nonce; in dpp_auth_build_resp_ok()
2304 r_nonce = NULL; in dpp_auth_build_resp_ok()
2313 r_nonce, i_nonce, in dpp_auth_build_resp_ok()
2674 u8 r_nonce[4 + DPP_MAX_NONCE_LEN]; in dpp_auth_build_conf() local
2812 WPA_PUT_LE16(r_nonce, DPP_ATTR_R_NONCE); in dpp_auth_build_conf()
2813 WPA_PUT_LE16(&r_nonce[2], auth->curve->nonce_len); in dpp_auth_build_conf()
2814 os_memcpy(r_nonce + 4, auth->r_nonce, auth->curve->nonce_len); in dpp_auth_build_conf()
2817 r_nonce, r_nonce_len, in dpp_auth_build_conf()
2955 *r_nonce, *i_nonce, *r_capab, *wrapped2, *r_auth; in dpp_auth_resp_rx() local
3122 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_resp_rx()
3124 if (!r_nonce || r_nonce_len != auth->curve->nonce_len) { in dpp_auth_resp_rx()
3128 wpa_hexdump(MSG_DEBUG, "DPP: R-nonce", r_nonce, r_nonce_len); in dpp_auth_resp_rx()
3129 os_memcpy(auth->r_nonce, r_nonce, r_nonce_len); in dpp_auth_resp_rx()
3270 const u8 *r_nonce; in dpp_auth_conf_rx_failure() local
3304 r_nonce = dpp_get_attr(unwrapped, unwrapped_len, DPP_ATTR_R_NONCE, in dpp_auth_conf_rx_failure()
3306 if (!r_nonce || r_nonce_len != auth->curve->nonce_len) { in dpp_auth_conf_rx_failure()
3310 if (os_memcmp(r_nonce, auth->r_nonce, r_nonce_len) != 0) { in dpp_auth_conf_rx_failure()
3312 r_nonce, r_nonce_len); in dpp_auth_conf_rx_failure()
3314 auth->r_nonce, r_nonce_len); in dpp_auth_conf_rx_failure()