Home
last modified time | relevance | path

Searched refs:master_secret (Results 1 – 25 of 43) sorted by relevance

12

/third_party/boringssl/src/util/fipstools/cavp/
Dcavp_tlskdf_test.cc66 uint8_t master_secret[48]; in TestTLSKDF() local
68 if (!CRYPTO_tls1_prf(md, master_secret, sizeof(master_secret), in TestTLSKDF()
86 md, key_block.data(), key_block.size(), master_secret, in TestTLSKDF()
87 sizeof(master_secret), kLabel, sizeof(kLabel) - 1, in TestTLSKDF()
95 EncodeHex(master_secret, sizeof(master_secret)).c_str(), in TestTLSKDF()
/third_party/openssl/test/
Dbad_dtls_test.c52 static unsigned char master_secret[48]; variable
74 EVP_PKEY_CTX_set1_tls1_prf_secret(pctx, master_secret, sizeof(master_secret)); in do_PRF()
109 memcpy(session_asn1 + SS_SECRET_OFS, master_secret, sizeof(master_secret)); in client_session()
457 RAND_bytes(master_secret, sizeof(master_secret)); in test_bad_dtls()
Dtls13secretstest.c98 static unsigned char master_secret[] = { variable
354 master_secret, sizeof(master_secret))) { in test_handshake_secrets()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_fast_common.c69 const u8 *client_random, u8 *master_secret) in eap_fast_derive_master_secret() argument
89 seed, sizeof(seed), master_secret, TLS_MASTER_SECRET_LEN); in eap_fast_derive_master_secret()
92 master_secret, TLS_MASTER_SECRET_LEN); in eap_fast_derive_master_secret()
Deap_fast_common.h99 const u8 *client_random, u8 *master_secret);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_fast_common.c69 const u8 *client_random, u8 *master_secret) in eap_fast_derive_master_secret() argument
89 seed, sizeof(seed), master_secret, TLS_MASTER_SECRET_LEN); in eap_fast_derive_master_secret()
92 master_secret, TLS_MASTER_SECRET_LEN); in eap_fast_derive_master_secret()
Deap_fast_common.h99 const u8 *client_random, u8 *master_secret);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_server.c74 conn->master_secret, TLS_MASTER_SECRET_LEN)) { in tlsv1_server_derive_keys()
80 conn->master_secret, TLS_MASTER_SECRET_LEN); in tlsv1_server_derive_keys()
88 conn->master_secret, TLS_MASTER_SECRET_LEN, in tlsv1_server_derive_keys()
512 conn->master_secret, TLS_MASTER_SECRET_LEN, in tlsv1_server_prf()
Dtlsv1_client.c68 conn->master_secret, TLS_MASTER_SECRET_LEN)) { in tls_derive_keys()
74 conn->master_secret, TLS_MASTER_SECRET_LEN); in tls_derive_keys()
83 conn->master_secret, TLS_MASTER_SECRET_LEN, in tls_derive_keys()
564 conn->master_secret, TLS_MASTER_SECRET_LEN, in tlsv1_client_prf()
Dtlsv1_server_i.h28 u8 master_secret[TLS_MASTER_SECRET_LEN]; member
Dtlsv1_server.h43 const u8 *server_random, u8 *master_secret);
Dtlsv1_client.h49 const u8 *server_random, u8 *master_secret);
Dtlsv1_client_i.h27 u8 master_secret[TLS_MASTER_SECRET_LEN]; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_server.c74 conn->master_secret, TLS_MASTER_SECRET_LEN)) { in tlsv1_server_derive_keys()
80 conn->master_secret, TLS_MASTER_SECRET_LEN); in tlsv1_server_derive_keys()
88 conn->master_secret, TLS_MASTER_SECRET_LEN, in tlsv1_server_derive_keys()
512 conn->master_secret, TLS_MASTER_SECRET_LEN, in tlsv1_server_prf()
Dtlsv1_client.c68 conn->master_secret, TLS_MASTER_SECRET_LEN)) { in tls_derive_keys()
74 conn->master_secret, TLS_MASTER_SECRET_LEN); in tls_derive_keys()
83 conn->master_secret, TLS_MASTER_SECRET_LEN, in tls_derive_keys()
564 conn->master_secret, TLS_MASTER_SECRET_LEN, in tlsv1_client_prf()
Dtlsv1_server_i.h28 u8 master_secret[TLS_MASTER_SECRET_LEN]; member
Dtlsv1_server.h43 const u8 *server_random, u8 *master_secret);
Dtlsv1_client.h49 const u8 *server_random, u8 *master_secret);
Dtlsv1_client_i.h27 u8 master_secret[TLS_MASTER_SECRET_LEN]; member
Dtlsv1_server_write.c134 conn->master_secret); in tls_write_server_hello()
888 conn->master_secret, TLS_MASTER_SECRET_LEN, in tls_write_server_finished()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_module_tests.c855 const u8 master_secret[] = { in test_eap_fast() local
949 seed, sizeof(seed), buf, sizeof(master_secret)) < 0 || in test_eap_fast()
950 os_memcmp(master_secret, buf, sizeof(master_secret)) != 0) { in test_eap_fast()
957 if (tls_prf_sha1_md5(master_secret, sizeof(master_secret), in test_eap_fast()
Dtls.h620 const u8 *server_random, u8 *master_secret);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_module_tests.c855 const u8 master_secret[] = { in test_eap_fast() local
949 seed, sizeof(seed), buf, sizeof(master_secret)) < 0 || in test_eap_fast()
950 os_memcmp(master_secret, buf, sizeof(master_secret)) != 0) { in test_eap_fast()
957 if (tls_prf_sha1_md5(master_secret, sizeof(master_secret), in test_eap_fast()
Dtls.h620 const u8 *server_random, u8 *master_secret);
/third_party/openssl/ssl/
Dtls13_enc.c610 insecret = s->master_secret; in tls13_change_cipher_state()
632 insecret = s->master_secret; in tls13_change_cipher_state()

12