Home
last modified time | relevance | path

Searched refs:MD5_MAC_LEN (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Dsha1-tlsprf.c35 u8 A_MD5[MD5_MAC_LEN], A_SHA1[SHA1_MAC_LEN]; in tls_prf_sha1_md5()
36 u8 P_MD5[MD5_MAC_LEN], P_SHA1[SHA1_MAC_LEN]; in tls_prf_sha1_md5()
44 MD5_len[0] = MD5_MAC_LEN; in tls_prf_sha1_md5()
74 MD5_pos = MD5_MAC_LEN; in tls_prf_sha1_md5()
77 if (MD5_pos == MD5_MAC_LEN) { in tls_prf_sha1_md5()
80 hmac_md5(S1, L_S1, A_MD5, MD5_MAC_LEN, A_MD5); in tls_prf_sha1_md5()
95 forced_memzero(A_MD5, MD5_MAC_LEN); in tls_prf_sha1_md5()
96 forced_memzero(P_MD5, MD5_MAC_LEN); in tls_prf_sha1_md5()
Dmd5.h12 #define MD5_MAC_LEN 16 macro
Dmd5.c88 _len[1] = MD5_MAC_LEN; in hmac_md5_vector()
/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_client_write.c541 hlen = MD5_MAC_LEN; in tls_write_client_certificate_verify()
552 hpos += MD5_MAC_LEN; in tls_write_client_certificate_verify()
568 hlen += MD5_MAC_LEN; in tls_write_client_certificate_verify()
678 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_write_client_finished()
699 hlen = MD5_MAC_LEN; in tls_write_client_finished()
712 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_write_client_finished()
720 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_write_client_finished()
Dtlsv1_server_read.c774 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN], *hpos, *buf; in tls_process_certificate_verify()
886 hlen = MD5_MAC_LEN; in tls_process_certificate_verify()
897 hpos += MD5_MAC_LEN; in tls_process_certificate_verify()
913 hlen += MD5_MAC_LEN; in tls_process_certificate_verify()
1069 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_process_client_finished()
1139 hlen = MD5_MAC_LEN; in tls_process_client_finished()
1152 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_process_client_finished()
1160 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_process_client_finished()
Dpkcs5.c144 u8 hash[MD5_MAC_LEN]; in pkcs5_crypto_init()
159 len[0] = MD5_MAC_LEN; in pkcs5_crypto_init()
Dtlsv1_server_write.c579 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_write_server_finished()
602 hlen = MD5_MAC_LEN; in tls_write_server_finished()
615 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_write_server_finished()
623 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_write_server_finished()
Dtlsv1_client_read.c819 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_process_server_finished()
887 hlen = MD5_MAC_LEN; in tls_process_server_finished()
900 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_process_server_finished()
908 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_process_server_finished()
Dtlsv1_record.c47 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite()
Dtlsv1_common.c389 hlen = MD5_MAC_LEN; in tls_key_x_server_params_hash()
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/
Dwpa_common.c29 #define MD5_MAC_LEN 16 macro
457 memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
472 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()