Searched refs:SSL3_RANDOM_SIZE (Results 1 – 8 of 8) sorted by relevance
/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() 268 ssl->s3->client_random, SSL3_RANDOM_SIZE); in tls1_generate_key_block() 564 ssl->s3->client_random, SSL3_RANDOM_SIZE, in tls1_generate_master_secret() 565 ssl->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret() 582 size_t seed_len = 2 * SSL3_RANDOM_SIZE; in tls1_export_keying_material() 596 memcpy(seed, ssl->s3->client_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material() 597 memcpy(seed + SSL3_RANDOM_SIZE, ssl->s3->server_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material() 599 seed[2 * SSL3_RANDOM_SIZE] = (uint8_t)(context_len >> 8); in tls1_export_keying_material() 600 seed[2 * SSL3_RANDOM_SIZE + 1] = (uint8_t)context_len; in tls1_export_keying_material() 601 memcpy(seed + 2 * SSL3_RANDOM_SIZE + 2, context, context_len); in tls1_export_keying_material()
|
D | s3_srvr.c | 648 uint8_t random[SSL3_RANDOM_SIZE]; in ssl3_get_v2_client_hello() 703 memset(random, 0, SSL3_RANDOM_SIZE); in ssl3_get_v2_client_hello() 705 if (rand_len > SSL3_RANDOM_SIZE) { in ssl3_get_v2_client_hello() 706 rand_len = SSL3_RANDOM_SIZE; in ssl3_get_v2_client_hello() 708 memcpy(random + (SSL3_RANDOM_SIZE - rand_len), CBS_data(&challenge), in ssl3_get_v2_client_hello() 718 !CBB_add_bytes(&hello_body, random, SSL3_RANDOM_SIZE) || in ssl3_get_v2_client_hello() 842 !CBS_get_bytes(&client_hello, &client_random, SSL3_RANDOM_SIZE) || in ssl3_get_client_hello() 855 memcpy(ssl->s3->client_random, CBS_data(&client_random), SSL3_RANDOM_SIZE); in ssl3_get_client_hello() 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() [all …]
|
D | s3_clnt.c | 705 !CBB_add_bytes(&cbb, ssl->s3->client_random, SSL3_RANDOM_SIZE) || in ssl3_send_client_hello() 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() 1266 SSL3_RANDOM_SIZE) || in ssl3_get_server_key_exchange() 1268 SSL3_RANDOM_SIZE) || in ssl3_get_server_key_exchange()
|
D | s3_both.c | 175 if (!ssl_log_master_secret(ssl, ssl->s3->client_random, SSL3_RANDOM_SIZE, in ssl3_send_finished()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 63 if (!ssl->s3 || outlen < SSL3_RANDOM_SIZE) in SSL_get_client_random() 65 os_memcpy(out, ssl->s3->client_random, SSL3_RANDOM_SIZE); in SSL_get_client_random() 66 return SSL3_RANDOM_SIZE; in SSL_get_client_random() 73 if (!ssl->s3 || outlen < SSL3_RANDOM_SIZE) in SSL_get_server_random() 75 os_memcpy(out, ssl->s3->server_random, SSL3_RANDOM_SIZE); in SSL_get_server_random() 76 return SSL3_RANDOM_SIZE; in SSL_get_server_random() 222 unsigned char client_random[SSL3_RANDOM_SIZE]; 223 unsigned char server_random[SSL3_RANDOM_SIZE]; 3160 unsigned char client_random[SSL3_RANDOM_SIZE]; in openssl_tls_prf() 3161 unsigned char server_random[SSL3_RANDOM_SIZE]; in openssl_tls_prf() [all …]
|
/external/boringssl/src/include/openssl/ |
D | ssl3.h | 204 #define SSL3_RANDOM_SIZE 32 macro
|
D | ssl.h | 3929 uint8_t server_random[SSL3_RANDOM_SIZE]; 3930 uint8_t client_random[SSL3_RANDOM_SIZE];
|
/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()
|