Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/eap_common/
Deap_fast_common.c68 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()
124 os_memcpy(rnd, keys.server_random, keys.server_random_len); in eap_fast_derive_key()
Deap_fast_common.h98 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
/external/wpa_supplicant_8/src/tls/
Dtlsv1_common.c340 const u8 *server_random, in tlsv12_key_x_server_params_hash() argument
351 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tlsv12_key_x_server_params_hash()
363 const u8 *server_random, in tls_key_x_server_params_hash() argument
379 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash()
391 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash()
Dtlsv1_server.c69 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()
586 keys->server_random = conn->server_random; in tlsv1_server_get_keys()
Dtlsv1_server_write.c56 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()
104 conn->client_random, conn->server_random, in tls_write_server_hello()
447 conn->server_random, server_params, in tls_write_server_key_exchange()
495 conn->server_random, server_params, in tls_write_server_key_exchange()
Dtlsv1_client.c62 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tls_derive_keys()
76 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tls_derive_keys()
531 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_client_prf()
536 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_client_prf()
699 keys->server_random = conn->server_random; in tlsv1_client_get_keys()
Dtlsv1_common.h261 const u8 *server_random,
265 const u8 *server_random,
Dtlsv1_server.h42 const u8 *server_random, u8 *master_secret);
Dtlsv1_client.h48 const u8 *server_random, u8 *master_secret);
Dtlsv1_server_i.h27 u8 server_random[TLS_RANDOM_LEN]; member
Dtlsv1_client_i.h26 u8 server_random[TLS_RANDOM_LEN]; member
Dtlsv1_client_read.c96 os_memcpy(conn->server_random, pos, TLS_RANDOM_LEN); in tls_process_server_hello()
99 conn->server_random, TLS_RANDOM_LEN); in tls_process_server_hello()
180 conn->client_random, conn->server_random, in tls_process_server_hello()
534 conn->server_random, server_params, in tlsv1_process_diffie_hellman()
542 conn->server_random, server_params, in tlsv1_process_diffie_hellman()
/external/wpa_supplicant_8/src/crypto/
Dtls.h19 const u8 *server_random; member
534 const u8 *server_random, u8 *master_secret);
Dtls_gnutls.c60 opaque server_random[WPA_TLS_RANDOM_SIZE]; member
768 keys->server_random = sec->server_random; in tls_connection_get_keys()
772 keys->server_random = in tls_connection_get_keys()
/external/chromium_org/net/third_party/nss/patches/
Dsecretexporterlocks.patch30 PORT_Memcpy(val + i, &ss->ssl3.hs.server_random.rand, SSL3_RANDOM_LENGTH);
/external/openssl/ssl/
Dt1_enc.c300 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_key_block()
517 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state()
528 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state()
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()
1125 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_master_secret()
1135 BIO_dump_fp(stderr, (char *)s->s3->server_random, SSL3_RANDOM_SIZE); in tls1_generate_master_secret()
1180 memcpy(val + currentvalpos, s->s3->server_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material()
Ds3_enc.c192 EVP_DigestUpdate(&s1,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block()
332 er2= &(s->s3->server_random[0]); in ssl3_change_cipher_state()
340 er1= &(s->s3->server_random[0]); in ssl3_change_cipher_state()
853 EVP_DigestUpdate(&ctx,&(s->s3->server_random[0]), in ssl3_generate_master_secret()
Dd1_srvr.c934 p=s->s3->server_random; in dtls1_send_server_hello()
943 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in dtls1_send_server_hello()
1396 EVP_DigestUpdate(&md_ctx,&(s->s3->server_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()
1439 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange()
Dssl3.h423 unsigned char server_random[SSL3_RANDOM_SIZE]; member
/external/chromium_org/third_party/boringssl/src/ssl/
Dt1_enc.c299 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_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()
1183 s->s3->server_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()
1207 s->s3->server_random, SSL3_RANDOM_SIZE, in tls1_generate_master_secret()
1256 memcpy(val + currentvalpos, s->s3->server_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material()
Ds3_enc.c192 EVP_DigestUpdate(&s1,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block()
767 EVP_DigestUpdate(&ctx,&(s->s3->server_random[0]), in ssl3_generate_master_secret()
789 s->s3->server_random, SSL3_RANDOM_SIZE, in ssl3_generate_master_secret()
Ds3_clnt.c798 CBS server_hello, server_random, session_id; in ssl3_get_server_hello() local
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()
1510 EVP_DigestUpdate(&md_ctx,&(s->s3->server_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()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c333 if (keys.client_random == NULL || keys.server_random == NULL || in eap_peer_tls_derive_key()
341 os_memcpy(rnd + keys.client_random_len, keys.server_random, in eap_peer_tls_derive_key()
387 if (keys.client_random == NULL || keys.server_random == NULL || in eap_peer_tls_derive_session_id()
399 os_memcpy(out + 1 + keys.client_random_len, keys.server_random, in eap_peer_tls_derive_session_id()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c117 if (keys.client_random == NULL || keys.server_random == NULL || in eap_server_tls_derive_key()
125 os_memcpy(rnd + keys.client_random_len, keys.server_random, in eap_server_tls_derive_key()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dssl3.h361 unsigned char server_random[SSL3_RANDOM_SIZE]; member

12