Home
last modified time | relevance | path

Searched refs:i_nonce (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/common/
Ddpp_reconfig.c114 wpabuf_put_data(msg, auth->i_nonce, auth->curve->nonce_len); in dpp_reconfig_build_req()
197 if (random_get_bytes(auth->i_nonce, auth->curve->nonce_len)) { in dpp_reconfig_init()
236 wpabuf_put_data(clear, auth->i_nonce, auth->curve->nonce_len); in dpp_reconfig_build_resp()
332 const u8 *trans_id, *version, *i_connector, *i_nonce; in dpp_reconfig_auth_req_rx() local
367 i_nonce = dpp_get_attr(attr_start, attr_len, DPP_ATTR_I_NONCE, in dpp_reconfig_auth_req_rx()
369 if (!i_nonce || i_nonce_len > DPP_MAX_NONCE_LEN) { in dpp_reconfig_auth_req_rx()
374 wpa_hexdump(MSG_DEBUG, "DPP: I-Nonce", i_nonce, i_nonce_len); in dpp_reconfig_auth_req_rx()
421 os_memcpy(auth->i_nonce, i_nonce, i_nonce_len); in dpp_reconfig_auth_req_rx()
516 wpabuf_put_data(clear, auth->i_nonce, auth->curve->nonce_len); in dpp_reconfig_build_conf()
577 *i_nonce, *r_nonce, *conn_status; in dpp_reconfig_auth_resp_rx() local
[all …]
Ddpp_auth.c154 os_memcpy(pos, auth->i_nonce, nonce_len - 1); in dpp_auth_build_req()
165 os_memcpy(pos, auth->i_nonce, nonce_len); in dpp_auth_build_req()
239 const u8 *r_nonce, const u8 *i_nonce, in dpp_auth_build_resp() argument
320 if (i_nonce) { in dpp_auth_build_resp()
326 os_memcpy(pos, i_nonce, nonce_len); in dpp_auth_build_resp()
426 const u8 *r_pubkey_hash, *i_pubkey_hash, *r_nonce, *i_nonce; in dpp_auth_build_resp_ok() local
529 i_nonce = auth->i_nonce; in dpp_auth_build_resp_ok()
581 i_nonce = NULL; in dpp_auth_build_resp_ok()
587 r_nonce, i_nonce, in dpp_auth_build_resp_ok()
605 const u8 *r_pubkey_hash, *i_pubkey_hash, *i_nonce; in dpp_auth_build_resp_status() local
[all …]
Ddpp_crypto.c832 os_memcpy(nonces, auth->i_nonce, nonce_len); in dpp_derive_bk_ke()
1441 addr[num_elem] = auth->i_nonce; in dpp_gen_r_auth()
1528 addr[num_elem] = auth->i_nonce; in dpp_gen_i_auth()
2318 if (dpp_hmac(curve->hash_len, auth->i_nonce, curve->nonce_len, in dpp_reconfig_derive_ke_responder()
2413 if (dpp_hmac(curve->hash_len, auth->i_nonce, curve->nonce_len, in dpp_reconfig_derive_ke_initiator()
Ddpp.h251 u8 i_nonce[DPP_MAX_NONCE_LEN]; member
/external/wpa_supplicant_8/src/eap_common/
Deap_ikev2_common.c19 const u8 *i_nonce, size_t i_nonce_len, in eap_ikev2_derive_keymat() argument
27 if (keys->SK_d == NULL || i_nonce == NULL || r_nonce == NULL) in eap_ikev2_derive_keymat()
34 os_memcpy(nonces, i_nonce, i_nonce_len); in eap_ikev2_derive_keymat()
Deap_ikev2_common.h21 const u8 *i_nonce, size_t i_nonce_len,
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.h28 u8 i_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c68 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
434 os_memcpy(data->i_nonce, ni, ni_len); in ikev2_process_ni()
436 data->i_nonce, data->i_nonce_len); in ikev2_process_ni()
1004 data->i_nonce, data->i_nonce_len, in ikev2_build_auth()
Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_peer_keymat()
497 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id()
/external/wpa_supplicant_8/src/eap_server/
Dikev2.h27 u8 i_nonce[IKEV2_NONCE_MAX_LEN]; member
Dikev2.c72 os_memcpy(pos, data->i_nonce, data->i_nonce_len); in ikev2_derive_keys()
620 data->i_nonce, data->i_nonce_len, in ikev2_process_auth_secret()
1012 wpabuf_put_data(msg, data->i_nonce, data->i_nonce_len); in ikev2_build_ni()
1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len)) in ikev2_build_sa_init()
1099 wpa_hexdump(MSG_DEBUG, "IKEV2: Ni", data->i_nonce, data->i_nonce_len); in ikev2_build_sa_init()
Deap_server_ikev2.c338 data->ikev2.i_nonce, data->ikev2.i_nonce_len, in eap_ikev2_server_keymat()
535 os_memcpy(sid + offset, data->ikev2.i_nonce, in eap_ikev2_get_session_id()