Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
Dcrypto_linux.c135 mac, MD5_MAC_LEN); in md5_vector()
252 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init()
260 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
Dcrypto_linux.c135 mac, MD5_MAC_LEN); in md5_vector()
252 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init()
260 ctx->mac_len = MD5_MAC_LEN; in crypto_hash_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
Dradius.c371 u8 auth[MD5_MAC_LEN]; in radius_msg_finish()
374 os_memset(auth, 0, MD5_MAC_LEN); in radius_msg_finish()
377 auth, MD5_MAC_LEN); in radius_msg_finish()
401 u8 auth[MD5_MAC_LEN]; in radius_msg_finish_srv()
406 os_memset(auth, 0, MD5_MAC_LEN); in radius_msg_finish_srv()
408 auth, MD5_MAC_LEN); in radius_msg_finish_srv()
423 len[1] = MD5_MAC_LEN; in radius_msg_finish_srv()
445 u8 auth[MD5_MAC_LEN]; in radius_msg_finish_das_resp()
448 os_memset(auth, 0, MD5_MAC_LEN); in radius_msg_finish_das_resp()
450 auth, MD5_MAC_LEN); in radius_msg_finish_das_resp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius.c371 u8 auth[MD5_MAC_LEN]; in radius_msg_finish()
374 os_memset(auth, 0, MD5_MAC_LEN); in radius_msg_finish()
377 auth, MD5_MAC_LEN); in radius_msg_finish()
401 u8 auth[MD5_MAC_LEN]; in radius_msg_finish_srv()
406 os_memset(auth, 0, MD5_MAC_LEN); in radius_msg_finish_srv()
408 auth, MD5_MAC_LEN); in radius_msg_finish_srv()
423 len[1] = MD5_MAC_LEN; in radius_msg_finish_srv()
445 u8 auth[MD5_MAC_LEN]; in radius_msg_finish_das_resp()
448 os_memset(auth, 0, MD5_MAC_LEN); in radius_msg_finish_das_resp()
450 auth, MD5_MAC_LEN); in radius_msg_finish_das_resp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_write.c654 hlen = MD5_MAC_LEN; in tls_write_client_certificate_verify()
664 hpos += MD5_MAC_LEN; in tls_write_client_certificate_verify()
677 hlen += MD5_MAC_LEN; in tls_write_client_certificate_verify()
787 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_write_client_finished()
808 hlen = MD5_MAC_LEN; in tls_write_client_finished()
821 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_write_client_finished()
829 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_write_client_finished()
Dtlsv1_server_read.c891 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN], *hpos; in tls_process_certificate_verify()
999 hlen = MD5_MAC_LEN; in tls_process_certificate_verify()
1009 hpos += MD5_MAC_LEN; in tls_process_certificate_verify()
1022 hlen += MD5_MAC_LEN; in tls_process_certificate_verify()
1101 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_process_client_finished()
1207 hlen = MD5_MAC_LEN; in tls_process_client_finished()
1220 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_process_client_finished()
1228 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_process_client_finished()
Dtlsv1_server_write.c837 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_write_server_finished()
860 hlen = MD5_MAC_LEN; in tls_write_server_finished()
873 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_write_server_finished()
881 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_write_server_finished()
Dtlsv1_client_read.c1317 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_process_server_finished()
1387 hlen = MD5_MAC_LEN; in tls_process_server_finished()
1400 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_process_server_finished()
1408 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_process_server_finished()
Dpkcs5.c555 u8 hash[MD5_MAC_LEN]; in pkcs5_crypto_init()
575 len[0] = MD5_MAC_LEN; in pkcs5_crypto_init()
Dtlsv1_record.c46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite()
Dtlsv1_common.c395 hlen = MD5_MAC_LEN; in tls_key_x_server_params_hash()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client_write.c642 hlen = MD5_MAC_LEN; in tls_write_client_certificate_verify()
652 hpos += MD5_MAC_LEN; in tls_write_client_certificate_verify()
665 hlen += MD5_MAC_LEN; in tls_write_client_certificate_verify()
775 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_write_client_finished()
796 hlen = MD5_MAC_LEN; in tls_write_client_finished()
809 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_write_client_finished()
817 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_write_client_finished()
Dtlsv1_server_read.c891 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN], *hpos; in tls_process_certificate_verify()
999 hlen = MD5_MAC_LEN; in tls_process_certificate_verify()
1009 hpos += MD5_MAC_LEN; in tls_process_certificate_verify()
1022 hlen += MD5_MAC_LEN; in tls_process_certificate_verify()
1101 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_process_client_finished()
1207 hlen = MD5_MAC_LEN; in tls_process_client_finished()
1220 crypto_hash_finish(conn->verify.sha1_client, hash + MD5_MAC_LEN, in tls_process_client_finished()
1228 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_process_client_finished()
Dtlsv1_server_write.c837 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_write_server_finished()
860 hlen = MD5_MAC_LEN; in tls_write_server_finished()
873 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_write_server_finished()
881 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_write_server_finished()
Dtlsv1_client_read.c1325 u8 hash[MD5_MAC_LEN + SHA1_MAC_LEN]; in tls_process_server_finished()
1395 hlen = MD5_MAC_LEN; in tls_process_server_finished()
1408 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN, in tls_process_server_finished()
1416 hlen = MD5_MAC_LEN + SHA1_MAC_LEN; in tls_process_server_finished()
Dpkcs5.c533 u8 hash[MD5_MAC_LEN]; in pkcs5_crypto_init()
553 len[0] = MD5_MAC_LEN; in pkcs5_crypto_init()
Dtlsv1_record.c46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite()
Dtlsv1_common.c395 hlen = MD5_MAC_LEN; in tls_key_x_server_params_hash()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_common.c213 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
241 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()

12