Home
last modified time | relevance | path

Searched refs:Nx_len (Results 1 – 5 of 5) sorted by relevance

/external/wpa_supplicant_8/src/common/
Ddpp_i.h110 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,
Ddpp_crypto.c416 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()
Ddpp_auth.c49 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()
Ddpp.h326 size_t Nx_len; member
Ddpp.c4164 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()