/external/openssl/ssl/ |
D | s23_clnt.c | 383 if (ssl_fill_hello_random(s, 0, p, SSL3_RANDOM_SIZE) <= 0) in ssl23_client_hello() 466 if (SSL3_RANDOM_SIZE < ch_len) in ssl23_client_hello() 467 i=SSL3_RANDOM_SIZE; in ssl23_client_hello() 471 memset(&(s->s3->client_random[0]),0,SSL3_RANDOM_SIZE); in ssl23_client_hello() 472 if (RAND_pseudo_bytes(&(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i) <= 0) in ssl23_client_hello() 475 memcpy(p,&(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i); in ssl23_client_hello() 499 memcpy(p, s->s3->client_random, SSL3_RANDOM_SIZE); in ssl23_client_hello() 500 p += SSL3_RANDOM_SIZE; in ssl23_client_hello() 660 i=(SSL3_RANDOM_SIZE < ch_len) in ssl23_get_server_hello() 661 ?SSL3_RANDOM_SIZE:ch_len; in ssl23_get_server_hello() [all …]
|
D | t1_enc.c | 300 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_key_block() 301 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_generate_key_block() 516 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state() 517 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state() 527 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state() 528 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state() 632 { int z; for (z=0; z<SSL3_RANDOM_SIZE; z++) printf("%02X%c",s->s3->client_random[z],((z+1)%16)?' ':… in tls1_setup_key_block() 634 { int z; for (z=0; z<SSL3_RANDOM_SIZE; z++) printf("%02X%c",s->s3->server_random[z],((z+1)%16)?' ':… in tls1_setup_key_block() 1123 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_generate_master_secret() 1125 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_master_secret() [all …]
|
D | s23_srvr.c | 508 i=(cl > SSL3_RANDOM_SIZE)?SSL3_RANDOM_SIZE:cl; in ssl23_get_client_hello() 509 memset(d,0,SSL3_RANDOM_SIZE); in ssl23_get_client_hello() 510 memcpy(&(d[SSL3_RANDOM_SIZE-i]),&(p[csl+sil]),i); in ssl23_get_client_hello() 511 d+=SSL3_RANDOM_SIZE; in ssl23_get_client_hello()
|
D | s3_enc.c | 192 EVP_DigestUpdate(&s1,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block() 193 EVP_DigestUpdate(&s1,s->s3->client_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block() 359 EVP_DigestUpdate(&md,er1,SSL3_RANDOM_SIZE); in ssl3_change_cipher_state() 360 EVP_DigestUpdate(&md,er2,SSL3_RANDOM_SIZE); in ssl3_change_cipher_state() 367 EVP_DigestUpdate(&md,er1,SSL3_RANDOM_SIZE); in ssl3_change_cipher_state() 368 EVP_DigestUpdate(&md,er2,SSL3_RANDOM_SIZE); in ssl3_change_cipher_state() 852 SSL3_RANDOM_SIZE); in ssl3_generate_master_secret() 854 SSL3_RANDOM_SIZE); in ssl3_generate_master_secret()
|
D | ssl3.h | 255 #define SSL3_RANDOM_SIZE 32 macro 423 unsigned char server_random[SSL3_RANDOM_SIZE]; 424 unsigned char client_random[SSL3_RANDOM_SIZE];
|
D | d1_srvr.c | 935 ssl_fill_hello_random(s, 1, p, SSL3_RANDOM_SIZE); in dtls1_send_server_hello() 943 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in dtls1_send_server_hello() 944 p+=SSL3_RANDOM_SIZE; in dtls1_send_server_hello() 1395 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange() 1396 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange() 1419 EVP_SignUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange() 1420 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange() 1438 EVP_SignUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange() 1439 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange()
|
D | s3_srvr.c | 1010 session_length = *(p + SSL3_RANDOM_SIZE); in ssl3_get_client_hello() 1011 cookie_length = *(p + SSL3_RANDOM_SIZE + session_length + 1); in ssl3_get_client_hello() 1018 memcpy(s->s3->client_random,p,SSL3_RANDOM_SIZE); in ssl3_get_client_hello() 1019 p+=SSL3_RANDOM_SIZE; in ssl3_get_client_hello() 1242 if (ssl_fill_hello_random(s, 1, pos, SSL3_RANDOM_SIZE) <= 0) in ssl3_get_client_hello() 1501 if (ssl_fill_hello_random(s, 1, p, SSL3_RANDOM_SIZE) <= 0) in ssl3_send_server_hello() 1511 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_send_server_hello() 1512 p+=SSL3_RANDOM_SIZE; in ssl3_send_server_hello() 2010 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange() 2011 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange() [all …]
|
D | s3_clnt.c | 760 if (ssl_fill_hello_random(s, 0, p, SSL3_RANDOM_SIZE) <= 0) in ssl3_client_hello() 805 memcpy(p,s->s3->client_random,SSL3_RANDOM_SIZE); in ssl3_client_hello() 806 p+=SSL3_RANDOM_SIZE; in ssl3_client_hello() 953 memcpy(s->s3->server_random,p,SSL3_RANDOM_SIZE); in ssl3_get_server_hello() 954 p+=SSL3_RANDOM_SIZE; in ssl3_get_server_hello() 1997 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange() 1998 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange() 2024 EVP_VerifyUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange() 2025 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange() 3104 EVP_DigestUpdate(ukm_hash,s->s3->client_random,SSL3_RANDOM_SIZE); in ssl3_send_client_key_exchange() [all …]
|
D | d1_clnt.c | 831 memcpy(p,s->s3->client_random,SSL3_RANDOM_SIZE); in dtls1_client_hello() 832 p+=SSL3_RANDOM_SIZE; in dtls1_client_hello()
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | s23_srvr.c | 402 uint8_t random[SSL3_RANDOM_SIZE]; in ssl23_get_v2_client_hello() 452 memset(random, 0, SSL3_RANDOM_SIZE); in ssl23_get_v2_client_hello() 453 i = (CBS_len(&challenge) > SSL3_RANDOM_SIZE) ? SSL3_RANDOM_SIZE : CBS_len(&challenge); in ssl23_get_v2_client_hello() 465 !CBB_add_bytes(&hello_body, random, SSL3_RANDOM_SIZE) || in ssl23_get_v2_client_hello()
|
D | t1_enc.c | 299 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_key_block() 300 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_generate_key_block() 649 { int z; for (z=0; z<SSL3_RANDOM_SIZE; z++) printf("%02X%c",s->s3->client_random[z],((z+1)%16)?' ':… in tls1_setup_key_block() 651 { int z; for (z=0; z<SSL3_RANDOM_SIZE; z++) printf("%02X%c",s->s3->server_random[z],((z+1)%16)?' ':… in tls1_setup_key_block() 1181 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_generate_master_secret() 1183 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_master_secret() 1191 BIO_dump_fp(stderr, (char *)s->s3->client_random, SSL3_RANDOM_SIZE); in tls1_generate_master_secret() 1193 BIO_dump_fp(stderr, (char *)s->s3->server_random, SSL3_RANDOM_SIZE); in tls1_generate_master_secret() 1204 s->s3->client_random, SSL3_RANDOM_SIZE, in tls1_generate_master_secret() 1207 s->s3->server_random, SSL3_RANDOM_SIZE, in tls1_generate_master_secret() [all …]
|
D | s3_enc.c | 192 EVP_DigestUpdate(&s1,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block() 193 EVP_DigestUpdate(&s1,s->s3->client_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block() 766 SSL3_RANDOM_SIZE); in ssl3_generate_master_secret() 768 SSL3_RANDOM_SIZE); in ssl3_generate_master_secret() 786 s->s3->client_random, SSL3_RANDOM_SIZE, in ssl3_generate_master_secret() 789 s->s3->server_random, SSL3_RANDOM_SIZE, in ssl3_generate_master_secret()
|
D | s23_clnt.c | 310 if (ssl_fill_hello_random(s, 0, p, SSL3_RANDOM_SIZE) <= 0) in ssl23_client_hello() 358 memcpy(p, s->s3->client_random, SSL3_RANDOM_SIZE); in ssl23_client_hello() 359 p += SSL3_RANDOM_SIZE; in ssl23_client_hello()
|
D | s3_srvr.c | 749 if (!CBS_skip(&client_hello, 2 + SSL3_RANDOM_SIZE) || in ssl3_get_client_hello() 807 !CBS_get_bytes(&client_hello, &client_random, SSL3_RANDOM_SIZE) || in ssl3_get_client_hello() 836 memcpy(s->s3->client_random, CBS_data(&client_random), SSL3_RANDOM_SIZE); in ssl3_get_client_hello() 1035 if (ssl_fill_hello_random(s, 1, pos, SSL3_RANDOM_SIZE) <= 0) in ssl3_get_client_hello() 1196 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_send_server_hello() 1197 p+=SSL3_RANDOM_SIZE; in ssl3_send_server_hello() 1582 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange() 1583 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange() 1619 EVP_SignUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange() 1620 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange()
|
D | s3_clnt.c | 721 memcpy(p,s->s3->client_random,SSL3_RANDOM_SIZE); in ssl3_send_client_hello() 722 p+=SSL3_RANDOM_SIZE; in ssl3_send_client_hello() 816 !CBS_get_bytes(&server_hello, &server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_hello() 856 memcpy(s->s3->server_random, CBS_data(&server_random), SSL3_RANDOM_SIZE); in ssl3_get_server_hello() 1509 EVP_DigestUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_server_key_exchange() 1510 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_server_key_exchange() 1528 EVP_VerifyUpdate(&md_ctx,&(s->s3->client_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_server_key_exchange() 1529 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_server_key_exchange()
|
D | s3_both.c | 173 s->s3->client_random, SSL3_RANDOM_SIZE, in ssl3_send_finished()
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
D | ssl3.h | 200 #define SSL3_RANDOM_SIZE 32 macro 361 unsigned char server_random[SSL3_RANDOM_SIZE]; 362 unsigned char client_random[SSL3_RANDOM_SIZE];
|
/external/openssl/include/openssl/ |
D | ssl3.h | 255 #define SSL3_RANDOM_SIZE 32 macro 423 unsigned char server_random[SSL3_RANDOM_SIZE]; 424 unsigned char 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()
|
/external/openssl/patches/ |
D | 0009-cbc_record_splitting.patch | 484 unsigned char client_random[SSL3_RANDOM_SIZE];
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 2535 keys->client_random_len = SSL3_RANDOM_SIZE; in tls_connection_get_keys() 2537 keys->server_random_len = SSL3_RANDOM_SIZE; in tls_connection_get_keys()
|