Searched refs:SSL3_RANDOM_SIZE (Results 1 – 7 of 7) sorted by relevance
/external/boringssl/src/ssl/ |
D | t1_enc.c | 290 s->s3->server_random, SSL3_RANDOM_SIZE, in tls1_generate_key_block() 292 SSL3_RANDOM_SIZE); in tls1_generate_key_block() 619 s->s3->client_random, SSL3_RANDOM_SIZE, in tls1_generate_master_secret() 620 s->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret() 638 size_t seed_len = 2 * SSL3_RANDOM_SIZE; in tls1_export_keying_material() 652 memcpy(seed, s->s3->client_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material() 653 memcpy(seed + SSL3_RANDOM_SIZE, s->s3->server_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material() 655 seed[2 * SSL3_RANDOM_SIZE] = (uint8_t)(context_len >> 8); in tls1_export_keying_material() 656 seed[2 * SSL3_RANDOM_SIZE + 1] = (uint8_t)context_len; in tls1_export_keying_material() 657 memcpy(seed + 2 * SSL3_RANDOM_SIZE + 2, context, context_len); in tls1_export_keying_material()
|
D | s3_srvr.c | 684 uint8_t random[SSL3_RANDOM_SIZE]; in ssl3_get_v2_client_hello() 741 memset(random, 0, SSL3_RANDOM_SIZE); in ssl3_get_v2_client_hello() 743 if (rand_len > SSL3_RANDOM_SIZE) { in ssl3_get_v2_client_hello() 744 rand_len = SSL3_RANDOM_SIZE; in ssl3_get_v2_client_hello() 746 memcpy(random + (SSL3_RANDOM_SIZE - rand_len), CBS_data(&challenge), in ssl3_get_v2_client_hello() 758 !CBB_add_bytes(&hello_body, random, SSL3_RANDOM_SIZE) || in ssl3_get_v2_client_hello() 884 !CBS_get_bytes(&client_hello, &client_random, SSL3_RANDOM_SIZE) || in ssl3_get_client_hello() 897 memcpy(s->s3->client_random, CBS_data(&client_random), SSL3_RANDOM_SIZE); in ssl3_get_client_hello() 1168 if (!ssl_fill_hello_random(s->s3->server_random, SSL3_RANDOM_SIZE, in ssl3_send_server_hello() 1173 memcpy(p, s->s3->server_random, SSL3_RANDOM_SIZE); in ssl3_send_server_hello() [all …]
|
D | s3_clnt.c | 651 memcpy(p, s->s3->client_random, SSL3_RANDOM_SIZE); in ssl3_send_client_hello() 652 p += SSL3_RANDOM_SIZE; in ssl3_send_client_hello() 758 !CBS_get_bytes(&server_hello, &server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_hello() 792 memcpy(s->s3->server_random, CBS_data(&server_random), SSL3_RANDOM_SIZE); in ssl3_get_server_hello() 1313 SSL3_RANDOM_SIZE) || in ssl3_get_server_key_exchange() 1315 SSL3_RANDOM_SIZE) || in ssl3_get_server_key_exchange()
|
D | s3_both.c | 172 SSL3_RANDOM_SIZE, s->session->master_key, in ssl3_send_finished()
|
/external/boringssl/src/include/openssl/ |
D | ssl3.h | 203 #define SSL3_RANDOM_SIZE 32 macro 366 uint8_t server_random[SSL3_RANDOM_SIZE]; 367 uint8_t client_random[SSL3_RANDOM_SIZE];
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 2671 keys->client_random_len = SSL3_RANDOM_SIZE; in tls_connection_get_keys() 2673 keys->server_random_len = SSL3_RANDOM_SIZE; in tls_connection_get_keys() 2753 rnd = os_malloc(2 * SSL3_RANDOM_SIZE); in openssl_tls_prf() 2760 os_memcpy(rnd, ssl->s3->server_random, SSL3_RANDOM_SIZE); in openssl_tls_prf() 2761 os_memcpy(rnd + SSL3_RANDOM_SIZE, ssl->s3->client_random, in openssl_tls_prf() 2762 SSL3_RANDOM_SIZE); in openssl_tls_prf() 2764 os_memcpy(rnd, ssl->s3->client_random, SSL3_RANDOM_SIZE); in openssl_tls_prf() 2765 os_memcpy(rnd + SSL3_RANDOM_SIZE, ssl->s3->server_random, in openssl_tls_prf() 2766 SSL3_RANDOM_SIZE); in openssl_tls_prf() 2773 label, rnd, 2 * SSL3_RANDOM_SIZE, in openssl_tls_prf()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_kay.c | 262 need_len = 1 + 2 * SSL3_RANDOM_SIZE; in ieee802_1x_auth_get_session_id()
|