Home
last modified time | relevance | path

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

12

/third_party/mbedtls/programs/ssl/
Dssl_test_common_source.c40 if( secret_len != sizeof( keys->master_secret ) ) in eap_tls_key_derivation()
43 memcpy( keys->master_secret, secret, sizeof( keys->master_secret ) ); in eap_tls_key_derivation()
132 if( secret_len != sizeof( keys->master_secret ) ) in dtls_srtp_key_derivation()
135 memcpy( keys->master_secret, secret, sizeof( keys->master_secret ) ); in dtls_srtp_key_derivation()
Dssl_test_lib.h100 unsigned char master_secret[48]; member
116 unsigned char master_secret[48]; member
/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.c92 conn->master_secret, TLS_MASTER_SECRET_LEN)) { in tls_derive_keys()
98 conn->master_secret, TLS_MASTER_SECRET_LEN); in tls_derive_keys()
107 conn->master_secret, TLS_MASTER_SECRET_LEN, in tls_derive_keys()
588 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
/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/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_module_tests.c1004 const u8 master_secret[] = { in test_eap_fast() local
1098 seed, sizeof(seed), buf, sizeof(master_secret)) < 0 || in test_eap_fast()
1099 os_memcmp(master_secret, buf, sizeof(master_secret)) != 0) { in test_eap_fast()
1106 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/mbedtls/library/
Dssl_tls13_keys.h351 unsigned char const *master_secret,

12