/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_server.c | 69 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_server_derive_keys() 83 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys() 477 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_server_prf() 482 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_server_prf() 628 keys->server_random = conn->server_random; in tlsv1_server_get_random()
|
D | tlsv1_common.c | 340 const u8 *server_random, in tlsv12_key_x_server_params_hash() argument 368 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tlsv12_key_x_server_params_hash() 379 const u8 *server_random, in tls_key_x_server_params_hash() argument 393 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash() 404 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash()
|
D | tlsv1_client.c | 63 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tls_derive_keys() 77 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tls_derive_keys() 532 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_client_prf() 537 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_client_prf() 731 keys->server_random = conn->server_random; in tlsv1_client_get_random()
|
D | tlsv1_server_write.c | 56 WPA_PUT_BE32(conn->server_random, now.sec); in tls_write_server_hello() 57 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) { in tls_write_server_hello() 63 conn->server_random, TLS_RANDOM_LEN); in tls_write_server_hello() 88 os_memcpy(pos, conn->server_random, TLS_RANDOM_LEN); in tls_write_server_hello() 130 conn->client_random, conn->server_random, in tls_write_server_hello() 571 conn->server_random, server_params, in tls_write_server_key_exchange() 619 conn->server_random, server_params, in tls_write_server_key_exchange()
|
D | tlsv1_common.h | 264 const u8 *server_random, 268 const u8 *server_random,
|
D | tlsv1_server.h | 42 const u8 *server_random, u8 *master_secret);
|
D | tlsv1_client.h | 48 const u8 *server_random, u8 *master_secret);
|
D | tlsv1_server_i.h | 27 u8 server_random[TLS_RANDOM_LEN]; member
|
D | tlsv1_client_i.h | 26 u8 server_random[TLS_RANDOM_LEN]; member
|
D | tlsv1_client_read.c | 145 os_memcpy(conn->server_random, pos, TLS_RANDOM_LEN); in tls_process_server_hello() 148 conn->server_random, TLS_RANDOM_LEN); in tls_process_server_hello() 245 conn->client_random, conn->server_random, in tls_process_server_hello() 759 conn->server_random, server_params, in tlsv1_process_diffie_hellman() 768 conn->server_random, server_params, in tlsv1_process_diffie_hellman()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.c | 68 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random, in eap_fast_derive_master_secret() argument 78 server_random, TLS_RANDOM_LEN); in eap_fast_derive_master_secret() 85 os_memcpy(seed, server_random, TLS_RANDOM_LEN); in eap_fast_derive_master_secret()
|
D | eap_fast_common.h | 98 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls.h | 17 const u8 *server_random; member 563 const u8 *server_random, u8 *master_secret);
|
D | tls_openssl.c | 75 os_memcpy(out, ssl->s3->server_random, SSL3_RANDOM_SIZE); in SSL_get_server_random() 223 unsigned char server_random[SSL3_RANDOM_SIZE]; member 3078 keys->server_random = conn->server_random; in tls_connection_get_random() 3080 ssl, conn->server_random, sizeof(conn->server_random)); in tls_connection_get_random() 3161 unsigned char server_random[SSL3_RANDOM_SIZE]; in openssl_tls_prf() 3199 SSL_get_server_random(ssl, server_random, sizeof(server_random)); in openssl_tls_prf() 3204 os_memcpy(rnd, server_random, SSL3_RANDOM_SIZE); in openssl_tls_prf() 3209 os_memcpy(rnd + SSL3_RANDOM_SIZE, server_random, in openssl_tls_prf() 4170 s->s3->server_random, secret); in tls_sess_sec_cb() 4173 unsigned char server_random[SSL3_RANDOM_SIZE]; in tls_sess_sec_cb() local [all …]
|
D | tls_gnutls.c | 802 keys->server_random = server.data; in tls_connection_get_random()
|
/external/boringssl/src/ssl/ |
D | t1_enc.c | 267 TLS_MD_KEY_EXPANSION_CONST_SIZE, ssl->s3->server_random, SSL3_RANDOM_SIZE, in tls1_generate_key_block() 565 ssl->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret() 597 memcpy(seed + SSL3_RANDOM_SIZE, ssl->s3->server_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material()
|
D | s3_clnt.c | 745 CBS server_hello, server_random, session_id; in ssl3_get_server_hello() local 772 !CBS_get_bytes(&server_hello, &server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_hello() 806 memcpy(ssl->s3->server_random, CBS_data(&server_random), SSL3_RANDOM_SIZE); in ssl3_get_server_hello() 1267 !EVP_DigestVerifyUpdate(&md_ctx, ssl->s3->server_random, in ssl3_get_server_key_exchange()
|
D | s3_srvr.c | 1136 if (!ssl_fill_hello_random(ssl->s3->server_random, SSL3_RANDOM_SIZE, in ssl3_send_server_hello() 1148 !CBB_add_bytes(&cbb, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in ssl3_send_server_hello() 1329 EVP_DigestUpdate(&md_ctx, ssl->s3->server_random, SSL3_RANDOM_SIZE) && in ssl3_send_server_key_exchange()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tls_common.c | 151 if (keys.client_random == NULL || keys.server_random == NULL) in eap_server_tls_derive_session_id() 162 os_memcpy(out + 1 + keys.client_random_len, keys.server_random, in eap_server_tls_derive_session_id()
|
D | eap_server_fast.c | 122 const u8 *server_random, in eap_fast_session_ticket_cb() argument 263 eap_fast_derive_master_secret(pac_key, server_random, client_random, in eap_fast_session_ticket_cb()
|
/external/tlsdate/src/ |
D | tlsdate-helper-plan9.c | 242 memcpy(&server_time, ssl->s3->server_random, sizeof(uint32_t)); in openssl_time_callback() 1059 memcpy(time_map, ssl->s3->server_random, sizeof (uint32_t)); in run_ssl()
|
D | tlsdate-helper.c | 374 memcpy(&server_time, ssl->s3->server_random, sizeof(uint32_t)); in openssl_time_callback() 1192 memcpy(&result_time, ssl->s3->server_random, sizeof (uint32_t)); in run_ssl()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls_common.c | 362 keys.client_random == NULL || keys.server_random == NULL) in eap_peer_tls_derive_session_id() 373 os_memcpy(out + 1 + keys.client_random_len, keys.server_random, in eap_peer_tls_derive_session_id()
|
D | eap_fast.c | 76 const u8 *server_random, in eap_fast_session_ticket_cb() argument 83 if (client_random == NULL || server_random == NULL || in eap_fast_session_ticket_cb() 107 server_random, client_random, in eap_fast_session_ticket_cb()
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 3929 uint8_t server_random[SSL3_RANDOM_SIZE]; member
|