Searched refs:pre_master_secret (Results 1 – 10 of 10) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
D | tlsv1_client.c | 65 u8 *pre_master_secret) in tls_derive_pre_master_secret() argument 67 WPA_PUT_BE16(pre_master_secret, tls_client_highest_ver(conn)); in tls_derive_pre_master_secret() 68 if (os_get_random(pre_master_secret + 2, in tls_derive_pre_master_secret() 76 const u8 *pre_master_secret, size_t pre_master_secret_len) in tls_derive_keys() argument 83 if (pre_master_secret) { in tls_derive_keys() 85 pre_master_secret, pre_master_secret_len); in tls_derive_keys() 90 pre_master_secret, pre_master_secret_len, in tls_derive_keys()
|
D | tlsv1_client_i.h | 83 u8 *pre_master_secret); 85 const u8 *pre_master_secret, size_t pre_master_secret_len);
|
D | tlsv1_client_write.c | 461 u8 pre_master_secret[TLS_PRE_MASTER_SECRET_LEN]; in tlsv1_key_x_rsa() local 465 if (tls_derive_pre_master_secret(conn, pre_master_secret) < 0 || in tlsv1_key_x_rsa() 466 tls_derive_keys(conn, pre_master_secret, in tlsv1_key_x_rsa() 488 pre_master_secret, TLS_PRE_MASTER_SECRET_LEN, in tlsv1_key_x_rsa() 490 os_memset(pre_master_secret, 0, TLS_PRE_MASTER_SECRET_LEN); in tlsv1_key_x_rsa()
|
D | tlsv1_server.c | 57 const u8 *pre_master_secret, in tlsv1_server_derive_keys() argument 65 if (pre_master_secret) { in tlsv1_server_derive_keys() 67 pre_master_secret, pre_master_secret_len); in tlsv1_server_derive_keys() 72 pre_master_secret, pre_master_secret_len, in tlsv1_server_derive_keys()
|
D | tlsv1_server_i.h | 79 const u8 *pre_master_secret,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
D | tlsv1_client.c | 41 int tls_derive_pre_master_secret(u8 *pre_master_secret) in tls_derive_pre_master_secret() argument 43 WPA_PUT_BE16(pre_master_secret, TLS_VERSION); in tls_derive_pre_master_secret() 44 if (os_get_random(pre_master_secret + 2, in tls_derive_pre_master_secret() 52 const u8 *pre_master_secret, size_t pre_master_secret_len) in tls_derive_keys() argument 59 if (pre_master_secret) { in tls_derive_keys() 61 pre_master_secret, pre_master_secret_len); in tls_derive_keys() 66 pre_master_secret, pre_master_secret_len, in tls_derive_keys()
|
D | tlsv1_client_i.h | 81 int tls_derive_pre_master_secret(u8 *pre_master_secret); 83 const u8 *pre_master_secret, size_t pre_master_secret_len);
|
D | tlsv1_client_write.c | 473 u8 pre_master_secret[TLS_PRE_MASTER_SECRET_LEN]; in tlsv1_key_x_rsa() local 477 if (tls_derive_pre_master_secret(pre_master_secret) < 0 || in tlsv1_key_x_rsa() 478 tls_derive_keys(conn, pre_master_secret, in tlsv1_key_x_rsa() 500 pre_master_secret, TLS_PRE_MASTER_SECRET_LEN, in tlsv1_key_x_rsa() 502 os_memset(pre_master_secret, 0, TLS_PRE_MASTER_SECRET_LEN); in tlsv1_key_x_rsa()
|
D | tlsv1_server.c | 57 const u8 *pre_master_secret, in tlsv1_server_derive_keys() argument 65 if (pre_master_secret) { in tlsv1_server_derive_keys() 67 pre_master_secret, pre_master_secret_len); in tlsv1_server_derive_keys() 72 pre_master_secret, pre_master_secret_len, in tlsv1_server_derive_keys()
|
D | tlsv1_server_i.h | 79 const u8 *pre_master_secret,
|