Searched refs:pre_master_secret (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/ |
D | tlsv1_client.c | 40 int tls_derive_pre_master_secret(u8 *pre_master_secret) in tls_derive_pre_master_secret() argument 42 WPA_PUT_BE16(pre_master_secret, TLS_VERSION); in tls_derive_pre_master_secret() 43 if (os_get_random(pre_master_secret + 2, in tls_derive_pre_master_secret() 51 const u8 *pre_master_secret, size_t pre_master_secret_len) in tls_derive_keys() argument 58 if (pre_master_secret) { in tls_derive_keys() 60 pre_master_secret, pre_master_secret_len); in tls_derive_keys() 65 pre_master_secret, pre_master_secret_len, in tls_derive_keys()
|
D | tlsv1_client_i.h | 72 int tls_derive_pre_master_secret(u8 *pre_master_secret); 74 const u8 *pre_master_secret, size_t pre_master_secret_len);
|
D | tlsv1_server.c | 32 const u8 *pre_master_secret, in tlsv1_server_derive_keys() argument 40 if (pre_master_secret) { in tlsv1_server_derive_keys() 42 pre_master_secret, pre_master_secret_len); in tlsv1_server_derive_keys() 47 pre_master_secret, pre_master_secret_len, in tlsv1_server_derive_keys()
|
D | tlsv1_client_write.c | 358 u8 pre_master_secret[TLS_PRE_MASTER_SECRET_LEN]; in tlsv1_key_x_rsa() local 362 if (tls_derive_pre_master_secret(pre_master_secret) < 0 || in tlsv1_key_x_rsa() 363 tls_derive_keys(conn, pre_master_secret, in tlsv1_key_x_rsa() 385 pre_master_secret, TLS_PRE_MASTER_SECRET_LEN, in tlsv1_key_x_rsa() 387 os_memset(pre_master_secret, 0, TLS_PRE_MASTER_SECRET_LEN); in tlsv1_key_x_rsa()
|
D | tlsv1_server_i.h | 63 const u8 *pre_master_secret,
|