/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_server_i.h | 27 u8 server_random[TLS_RANDOM_LEN]; member
|
D | tlsv1_client.h | 48 const u8 *server_random, u8 *master_secret);
|
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/boringssl/src/ssl/ |
D | t1_enc.c | 455 ssl->s3->server_random, SSL3_RANDOM_SIZE, in SSL_generate_key_block() 468 ssl->s3->server_random, SSL3_RANDOM_SIZE, in SSL_generate_key_block() 492 ssl->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret() 500 ssl->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret() 542 OPENSSL_memcpy(seed + SSL3_RANDOM_SIZE, ssl->s3->server_random, in SSL_export_keying_material()
|
D | tls13_client.c | 166 CBS cbs, server_random, extensions; in do_process_server_hello() local 171 !CBS_get_bytes(&cbs, &server_random, SSL3_RANDOM_SIZE) || in do_process_server_hello() 187 OPENSSL_memcpy(ssl->s3->server_random, CBS_data(&server_random), in do_process_server_hello()
|
D | handshake_server.c | 1074 ssl->s3->server_random[0] = now.tv_sec >> 24; in ssl3_send_server_hello() 1075 ssl->s3->server_random[1] = now.tv_sec >> 16; in ssl3_send_server_hello() 1076 ssl->s3->server_random[2] = now.tv_sec >> 8; in ssl3_send_server_hello() 1077 ssl->s3->server_random[3] = now.tv_sec; in ssl3_send_server_hello() 1078 if (!RAND_bytes(ssl->s3->server_random + 4, SSL3_RANDOM_SIZE - 4)) { in ssl3_send_server_hello() 1093 !CBB_add_bytes(&body, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in ssl3_send_server_hello() 1267 !CBB_add_bytes(&transcript, ssl->s3->server_random, in ssl3_send_server_key_exchange()
|
D | tls13_server.c | 521 !RAND_bytes(ssl->s3->server_random, sizeof(ssl->s3->server_random)) || in do_send_server_hello() 522 !CBB_add_bytes(&body, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in do_send_server_hello()
|
D | handshake_client.c | 837 CBS server_hello, server_random, session_id; in ssl3_get_server_hello() local 911 if (!CBS_get_bytes(&server_hello, &server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_hello() 922 OPENSSL_memcpy(ssl->s3->server_random, CBS_data(&server_random), SSL3_RANDOM_SIZE); in ssl3_get_server_hello() 1364 !CBB_add_bytes(&transcript, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_key_exchange()
|
D | ssl_lib.c | 2503 return sizeof(ssl->s3->server_random); in SSL_get_server_random() 2505 if (max_out > sizeof(ssl->s3->server_random)) { in SSL_get_server_random() 2506 max_out = sizeof(ssl->s3->server_random); in SSL_get_server_random() 2508 OPENSSL_memcpy(out, ssl->s3->server_random, max_out); in SSL_get_server_random()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls.h | 17 const u8 *server_random; member 570 const u8 *server_random, u8 *master_secret);
|
D | tls_openssl.c | 85 os_memcpy(out, ssl->s3->server_random, SSL3_RANDOM_SIZE); in SSL_get_server_random() 235 unsigned char server_random[SSL3_RANDOM_SIZE]; member 3114 keys->server_random = conn->server_random; in tls_connection_get_random() 3116 ssl, conn->server_random, sizeof(conn->server_random)); in tls_connection_get_random() 3203 unsigned char server_random[SSL3_RANDOM_SIZE]; in tls_connection_get_eap_fast_key() local 3239 SSL_get_server_random(ssl, server_random, sizeof(server_random)); in tls_connection_get_eap_fast_key() 3243 os_memcpy(rnd, server_random, SSL3_RANDOM_SIZE); in tls_connection_get_eap_fast_key() 4185 s->s3->server_random, secret); in tls_sess_sec_cb() 4188 unsigned char server_random[SSL3_RANDOM_SIZE]; in tls_sess_sec_cb() local 4194 SSL_get_server_random(s, server_random, sizeof(server_random)); in tls_sess_sec_cb() [all …]
|
/external/syslinux/gpxe/src/net/ |
D | tls.c | 305 DBGC_HD ( tls, &tls->server_random, sizeof ( tls->server_random ) ); in tls_generate_master_secret() 312 &tls->server_random, sizeof ( tls->server_random ) ); in tls_generate_master_secret() 339 &tls->server_random, sizeof ( tls->server_random ), in tls_generate_keys() 830 memcpy ( &tls->server_random, &hello_a->random, in tls_new_server_hello() 831 sizeof ( tls->server_random ) ); in tls_new_server_hello()
|
/external/syslinux/gpxe/src/include/gpxe/ |
D | tls.h | 154 uint8_t server_random[32]; member
|
/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()
|
/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()
|