Home
last modified time | relevance | path

Searched refs:server_random (Results 1 – 14 of 14) sorted by relevance

/external/openssl/ssl/
Dt1_enc.c199 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in tls1_generate_key_block()
345 er2= &(s->s3->server_random[0]); in tls1_change_cipher_state()
388 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in tls1_change_cipher_state()
402 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in tls1_change_cipher_state()
487 { 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()
817 s->s3->server_random,SSL3_RANDOM_SIZE); in tls1_generate_master_secret()
Ds3_enc.c167 EVP_DigestUpdate(&s1,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block()
303 er2= &(s->s3->server_random[0]); in ssl3_change_cipher_state()
311 er1= &(s->s3->server_random[0]); in ssl3_change_cipher_state()
674 EVP_DigestUpdate(&ctx,&(s->s3->server_random[0]), in ssl3_generate_master_secret()
Dd1_srvr.c676 p=s->s3->server_random; in dtls1_send_server_hello()
691 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in dtls1_send_server_hello()
950 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange()
974 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange()
Dssl3.h344 unsigned char server_random[SSL3_RANDOM_SIZE]; member
Ds3_srvr.c1105 p=s->s3->server_random; in ssl3_send_server_hello()
1117 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_send_server_hello()
1546 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange()
1570 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange()
1589 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange()
Ds3_clnt.c742 memcpy(s->s3->server_random,p,SSL3_RANDOM_SIZE); in ssl3_get_server_hello()
1421 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1451 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1469 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
/external/wpa_supplicant/
Dtlsv1_client.c45 u8 server_random[TLS_RANDOM_LEN]; member
309 os_memcpy(conn->server_random, pos, TLS_RANDOM_LEN); in tls_process_server_hello()
312 conn->server_random, TLS_RANDOM_LEN); in tls_process_server_hello()
1088 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tls_derive_keys()
1101 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tls_derive_keys()
2162 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_client_prf()
2167 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_client_prf()
2311 keys->server_random = conn->server_random; in tlsv1_client_get_keys()
Dtls.h25 const u8 *server_random; member
Dtls_gnutls.c78 opaque server_random[TLS_RANDOM_SIZE]; member
806 keys->server_random = sec->server_random; in tls_connection_get_keys()
810 keys->server_random = in tls_connection_get_keys()
Deap_tls_common.c255 if (keys.client_random == NULL || keys.server_random == NULL || in eap_tls_derive_key()
263 os_memcpy(rnd + keys.client_random_len, keys.server_random, in eap_tls_derive_key()
Deap_fast.c855 const u8 *server_random; in eap_fast_set_tls_master_secret() local
889 server_random = tls + 11; in eap_fast_set_tls_master_secret()
892 server_random, server_random_len); in eap_fast_set_tls_master_secret()
898 os_memcpy(seed, server_random, server_random_len); in eap_fast_set_tls_master_secret()
950 os_memcpy(rnd, keys.server_random, keys.server_random_len); in eap_fast_derive_key()
Deap_ttls.c384 keys.client_random == NULL || keys.server_random == NULL || in eap_ttls_v1_derive_key()
402 os_memcpy(rnd + keys.client_random_len, keys.server_random, in eap_ttls_v1_derive_key()
442 keys.client_random == NULL || keys.server_random == NULL || in eap_ttls_implicit_challenge()
459 os_memcpy(rnd, keys.server_random, keys.server_random_len); in eap_ttls_implicit_challenge()
Dtls_openssl.c1872 keys->server_random = ssl->s3->server_random; in tls_connection_get_keys()
/external/openssl/include/openssl/
Dssl3.h344 unsigned char server_random[SSL3_RANDOM_SIZE]; member