Home
last modified time | relevance | path

Searched refs:hmac_sha256 (Results 1 – 23 of 23) sorted by relevance

/external/arm-trusted-firmware/plat/brcm/board/common/
Dcmn_plat_util.h36 uint8_t hmac_sha256[KHMAC_SHA256_KEY_SIZE]; member
/external/wpa_supplicant_8/src/crypto/
Dsha256-tlsprf.c60 hmac_sha256(secret, secret_len, A, SHA256_MAC_LEN, A) < 0) in tls_prf_sha256()
Dsha256.h16 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data,
Dsha256.c100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_module_tests.c1876 if (hmac_sha256(t->key, t->key_len, t->data, t->data_len, in test_sha256()
2158 if (hmac_sha256(salt1, sizeof(salt1), ikm1, sizeof(ikm1), prk) < 0) in test_extract_expand_hkdf()
2173 if (hmac_sha256(salt2, sizeof(salt2), ikm2, sizeof(ikm2), prk) < 0) in test_extract_expand_hkdf()
Dcrypto_nettle.c178 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_gnutls.c168 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_linux.c209 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_wolfssl.c227 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
Dcrypto_openssl.c1162 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() function
/external/wpa_supplicant_8/src/utils/
Duuid.c84 hmac_sha256(uuid, UUID_LEN, (const u8 *) &t, sizeof(t), hash) < 0) in uuid_random()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c74 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash) < 0 || in wps_process_key_wrap_auth()
Dwps_common.c137 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, dev_passwd, in wps_derive_psk()
141 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, in wps_derive_psk()
Dwps_attr_build.c382 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
/external/wpa_supplicant_8/src/eap_server/
Deap_server.c744 if (hmac_sha256(erp->rIK, erp->rIK_len, in erp_send_finish_reauth()
929 if (hmac_sha256(erp->rIK, erp->rIK_len, hdr, in SM_STATE()
942 if (hmac_sha256(erp->rIK, erp->rIK_len, hdr, in SM_STATE()
954 if (hmac_sha256(erp->rIK, erp->rIK_len, hdr, in SM_STATE()
/external/wpa_supplicant_8/src/eap_common/
Deap_gpsk_common.c538 ret = hmac_sha256(sk, sk_len, data, len, mic); in eap_gpsk_compute_mic()
Deap_teap_common.c332 res = hmac_sha256(cmk, cmk_len, buffer, buffer_len, tmp); in eap_teap_tls_mac()
Deap_eke_common.c578 return hmac_sha256(key, SHA256_MAC_LEN, data, data_len, res); in eap_eke_mac()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c237 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic()
257 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic()
280 if (hmac_sha256(key, key_len, buf, len, hash)) in wpa_eapol_key_mic()
1392 if (hmac_sha256(kck, WPA_PASN_KCK_LEN, buf, buf_len, hash)) in pasn_mic()
Ddpp_crypto.c287 return hmac_sha256(key, key_len, data, data_len, mac); in dpp_hmac()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c842 if (hmac_sha256(erp->rIK, erp->rIK_len, in eap_peer_build_erp_reauth_start()
1905 if (hmac_sha256(erp->rIK, erp->rIK_len, (const u8 *) hdr, in eap_peer_finish()
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c725 if (hmac_sha256(hapd->sae_token_key, sizeof(hapd->sae_token_key), in sae_token_hash()
4133 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_req()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c5194 res = hmac_sha256(wpabuf_head(hkey), wpabuf_len(hkey), in owe_process_assoc_resp()