Searched refs:prk (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/ |
D | dpp.c | 835 u8 salt[DPP_MAX_HASH_LEN], prk[DPP_MAX_HASH_LEN]; in dpp_derive_k1() local 843 if (dpp_hmac(hash_len, salt, hash_len, Mx, Mx_len, prk) < 0) in dpp_derive_k1() 846 prk, hash_len); in dpp_derive_k1() 849 res = dpp_hkdf_expand(hash_len, prk, hash_len, info, k1, hash_len); in dpp_derive_k1() 850 os_memset(prk, 0, hash_len); in dpp_derive_k1() 863 u8 salt[DPP_MAX_HASH_LEN], prk[DPP_MAX_HASH_LEN]; in dpp_derive_k2() local 871 res = dpp_hmac(hash_len, salt, hash_len, Nx, Nx_len, prk); in dpp_derive_k2() 875 prk, hash_len); in dpp_derive_k2() 878 res = dpp_hkdf_expand(hash_len, prk, hash_len, info, k2, hash_len); in dpp_derive_k2() 879 os_memset(prk, 0, hash_len); in dpp_derive_k2() [all …]
|