Searched refs:Nx_len (Results 1 – 5 of 5) sorted by relevance
/external/wpa_supplicant_8/src/common/ |
D | dpp_i.h | 110 int dpp_derive_k2(const u8 *Nx, size_t Nx_len, u8 *k2, unsigned int hash_len); 116 int dpp_derive_pmk(const u8 *Nx, size_t Nx_len, u8 *pmk, unsigned int hash_len); 131 const u8 *Nx, size_t Nx_len,
|
D | dpp_crypto.c | 416 int dpp_derive_k2(const u8 *Nx, size_t Nx_len, u8 *k2, unsigned int hash_len) in dpp_derive_k2() argument 426 res = dpp_hmac(hash_len, salt, hash_len, Nx, Nx_len, prk); in dpp_derive_k2() 455 if (!auth->Mx_len || !auth->Nx_len) { in dpp_derive_bk_ke() 468 len[num_elem] = auth->Nx_len; in dpp_derive_bk_ke() 1142 int dpp_derive_pmk(const u8 *Nx, size_t Nx_len, u8 *pmk, unsigned int hash_len) in dpp_derive_pmk() argument 1152 if (dpp_hmac(hash_len, salt, hash_len, Nx, Nx_len, prk) < 0) in dpp_derive_pmk() 1613 const u8 *Nx, size_t Nx_len, in dpp_pkex_derive_z() argument 1639 info_len += Mx_len + Nx_len + code_len; in dpp_pkex_derive_z() 1655 os_memcpy(pos, Nx, Nx_len); in dpp_pkex_derive_z() 1656 pos += Nx_len; in dpp_pkex_derive_z()
|
D | dpp_auth.c | 49 auth->Nx_len = 0; in dpp_auth_success() 489 auth->Nx_len = auth->secret_len; in dpp_auth_build_resp_ok() 1574 auth->Nx_len = auth->secret_len; in dpp_auth_resp_rx()
|
D | dpp.h | 326 size_t Nx_len; member
|
D | dpp.c | 4164 size_t Nx_len; in dpp_peer_intro() local 4249 if (dpp_ecdh(own_key, intro->peer_key, Nx, &Nx_len) < 0) in dpp_peer_intro() 4253 Nx, Nx_len); in dpp_peer_intro() 4256 if (dpp_derive_pmk(Nx, Nx_len, intro->pmk, curve->hash_len) < 0) { in dpp_peer_intro()
|