Home
last modified time | relevance | path

Searched refs:SHA384_MAC_LEN (Results 1 – 25 of 27) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dsha384-kdf.c36 u8 T[SHA384_MAC_LEN]; in hmac_sha384_kdf()
43 len[0] = SHA384_MAC_LEN; in hmac_sha384_kdf()
62 if (clen > SHA384_MAC_LEN) in hmac_sha384_kdf()
63 clen = SHA384_MAC_LEN; in hmac_sha384_kdf()
72 forced_memzero(T, SHA384_MAC_LEN); in hmac_sha384_kdf()
80 forced_memzero(T, SHA384_MAC_LEN); in hmac_sha384_kdf()
85 forced_memzero(T, SHA384_MAC_LEN); in hmac_sha384_kdf()
Dsha384-prf.c60 u8 hash[SHA384_MAC_LEN]; in sha384_prf_bits()
80 if (plen >= SHA384_MAC_LEN) { in sha384_prf_bits()
84 pos += SHA384_MAC_LEN; in sha384_prf_bits()
Dsha384.h12 #define SHA384_MAC_LEN 48 macro
Dsha384.c86 _len[1] = SHA384_MAC_LEN; in hmac_sha384_vector()
Dcrypto_linux.c159 mac, SHA384_MAC_LEN); in sha384_vector()
220 addr, len, mac, SHA384_MAC_LEN); in hmac_sha384_vector()
276 ctx->mac_len = SHA384_MAC_LEN; in crypto_hash_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dsha384-kdf.c36 u8 T[SHA384_MAC_LEN]; in hmac_sha384_kdf()
43 len[0] = SHA384_MAC_LEN; in hmac_sha384_kdf()
62 if (clen > SHA384_MAC_LEN) in hmac_sha384_kdf()
63 clen = SHA384_MAC_LEN; in hmac_sha384_kdf()
72 forced_memzero(T, SHA384_MAC_LEN); in hmac_sha384_kdf()
80 forced_memzero(T, SHA384_MAC_LEN); in hmac_sha384_kdf()
85 forced_memzero(T, SHA384_MAC_LEN); in hmac_sha384_kdf()
Dsha384-tlsprf.c33 u8 A[SHA384_MAC_LEN]; in tls_prf_sha384()
34 u8 P[SHA384_MAC_LEN]; in tls_prf_sha384()
40 len[0] = SHA384_MAC_LEN; in tls_prf_sha384()
60 hmac_sha384(secret, secret_len, A, SHA384_MAC_LEN, A) < 0) in tls_prf_sha384()
64 if (clen > SHA384_MAC_LEN) in tls_prf_sha384()
65 clen = SHA384_MAC_LEN; in tls_prf_sha384()
Dsha384-prf.c60 u8 hash[SHA384_MAC_LEN]; in sha384_prf_bits()
80 if (plen >= SHA384_MAC_LEN) { in sha384_prf_bits()
84 pos += SHA384_MAC_LEN; in sha384_prf_bits()
Dsha384.h12 #define SHA384_MAC_LEN 48 macro
Dsha384.c86 _len[1] = SHA384_MAC_LEN; in hmac_sha384_vector()
Dcrypto_linux.c159 mac, SHA384_MAC_LEN); in sha384_vector()
220 addr, len, mac, SHA384_MAC_LEN); in hmac_sha384_vector()
276 ctx->mac_len = SHA384_MAC_LEN; in crypto_hash_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c491 *pmk_len = SHA384_MAC_LEN; in fils_rmsk_to_pmk()
531 u8 hash[SHA384_MAC_LEN]; in fils_pmkid_erp()
833 u8 hash[SHA384_MAC_LEN]; in wpa_ft_mic()
1561 if (xxkey_len != SHA384_MAC_LEN) { in wpa_derive_pmk_r0()
1564 (int) xxkey_len, SHA384_MAC_LEN); in wpa_derive_pmk_r0()
1658 pmk_r0_len == SHA384_MAC_LEN ? "SHA384" : "SHA256"); in wpa_derive_pmk_r1()
1669 if (pmk_r0_len == SHA384_MAC_LEN && in wpa_derive_pmk_r1()
1678 if (pmk_r0_len != SHA384_MAC_LEN && pmk_r0_len != PMK_LEN) { in wpa_derive_pmk_r1()
1687 pmk_r0_len == SHA384_MAC_LEN); in wpa_derive_pmk_r1()
1741 if (pmk_r1_len != SHA384_MAC_LEN) { in wpa_pmk_r1_to_ptk()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_common.c531 *pmk_len = SHA384_MAC_LEN; in fils_rmsk_to_pmk()
571 u8 hash[SHA384_MAC_LEN]; in fils_pmkid_erp()
906 u8 hash[SHA384_MAC_LEN]; in wpa_ft_mic()
1346 u8 hash[SHA384_MAC_LEN]; in pasn_mic()
1901 if (xxkey_len != SHA384_MAC_LEN) { in wpa_derive_pmk_r0()
1904 (int) xxkey_len, SHA384_MAC_LEN); in wpa_derive_pmk_r0()
2000 pmk_r0_len == SHA384_MAC_LEN ? "SHA384" : "SHA256"); in wpa_derive_pmk_r1()
2011 if (pmk_r0_len == SHA384_MAC_LEN && in wpa_derive_pmk_r1()
2020 if (pmk_r0_len != SHA384_MAC_LEN && pmk_r0_len != PMK_LEN) { in wpa_derive_pmk_r1()
2029 pmk_r0_len == SHA384_MAC_LEN); in wpa_derive_pmk_r1()
[all …]
Ddpp_crypto.c1899 } else if (curve->hash_len == SHA384_MAC_LEN) { in dpp_build_conn_signature()
2102 } else if (hash_len == SHA384_MAC_LEN) { in dpp_build_csr()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dsta_info.h93 u8 hash[SHA384_MAC_LEN];
Dwpa_auth_ft.c2061 SHA384_MAC_LEN : PMK_LEN; in wpa_ft_store_pmk_fils()
2085 SHA384_MAC_LEN : PMK_LEN; in wpa_auth_derive_ptk_ft()
3085 pmk_r1_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_ft_process_auth_req()
4072 (f_pmk_r1_len == PMK_LEN || f_pmk_r1_len == SHA384_MAC_LEN)) in wpa_ft_rrb_rx_r1()
Dwpa_auth.c2129 os_memcpy(sm->xxkey, msk, SHA384_MAC_LEN); in SM_STATE()
2130 sm->xxkey_len = SHA384_MAC_LEN; in SM_STATE()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dwpa_ft.c46 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_derive_ptk_ft()
Dwpa.c331 os_memcpy(sm->xxkey, buf, SHA384_MAC_LEN); in wpa_supplicant_get_pmk()
332 sm->xxkey_len = SHA384_MAC_LEN; in wpa_supplicant_get_pmk()
4048 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne()
4646 hash_len = SHA384_MAC_LEN; in owe_process_assoc_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dwpa.c341 os_memcpy(sm->xxkey, buf, SHA384_MAC_LEN); in wpa_supplicant_get_pmk()
342 sm->xxkey_len = SHA384_MAC_LEN; in wpa_supplicant_get_pmk()
4550 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne()
5158 hash_len = SHA384_MAC_LEN; in owe_process_assoc_resp()
Dwpa_ft.c57 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_derive_ptk_ft()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwpa_auth_ft.c2058 SHA384_MAC_LEN : PMK_LEN; in wpa_ft_store_pmk_fils()
2082 SHA384_MAC_LEN : PMK_LEN; in wpa_auth_derive_ptk_ft()
2894 pmk_r1_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_ft_process_auth_req()
3844 (f_pmk_r1_len == PMK_LEN || f_pmk_r1_len == SHA384_MAC_LEN)) in wpa_ft_rrb_rx_r1()
Dwpa_auth.c2047 os_memcpy(sm->xxkey, msk, SHA384_MAC_LEN); in SM_STATE()
2048 sm->xxkey_len = SHA384_MAC_LEN; in SM_STATE()
2284 size_t pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_auth_pmk_to_ptk()
Dieee802_11.c2722 hash_len = SHA384_MAC_LEN; in owe_process_assoc_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpa_supplicant_i.h566 u8 hash[SHA384_MAC_LEN];

12