Searched refs:pre_master_secret (Results 1 – 7 of 7) sorted by relevance
/external/wpa_supplicant_8/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_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_client_write.c | 470 u8 pre_master_secret[TLS_PRE_MASTER_SECRET_LEN]; in tlsv1_key_x_rsa() local 474 if (tls_derive_pre_master_secret(pre_master_secret) < 0 || in tlsv1_key_x_rsa() 475 tls_derive_keys(conn, pre_master_secret, in tlsv1_key_x_rsa() 497 pre_master_secret, TLS_PRE_MASTER_SECRET_LEN, in tlsv1_key_x_rsa() 499 os_memset(pre_master_secret, 0, TLS_PRE_MASTER_SECRET_LEN); in tlsv1_key_x_rsa()
|
D | tlsv1_server_i.h | 77 const u8 *pre_master_secret,
|
/external/syslinux/gpxe/src/net/ |
D | tls.c | 300 DBGC_HD ( tls, &tls->pre_master_secret, in tls_generate_master_secret() 301 sizeof ( tls->pre_master_secret ) ); in tls_generate_master_secret() 307 tls_prf_label ( tls, &tls->pre_master_secret, in tls_generate_master_secret() 308 sizeof ( tls->pre_master_secret ), in tls_generate_master_secret() 668 DBGC_HD ( tls, &tls->pre_master_secret, in tls_send_client_key_exchange() 669 sizeof ( tls->pre_master_secret ) ); in tls_send_client_key_exchange() 672 RSA_encrypt ( rsa_ctx, ( const uint8_t * ) &tls->pre_master_secret, in tls_send_client_key_exchange() 673 sizeof ( tls->pre_master_secret ), in tls_send_client_key_exchange() 1745 tls->pre_master_secret.version = htons ( TLS_VERSION_TLS_1_0 ); in add_tls() 1746 tls_generate_random ( &tls->pre_master_secret.random, in add_tls() [all …]
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | tls.h | 150 struct tls_pre_master_secret pre_master_secret; member
|