Home
last modified time | relevance | path

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

/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_server.c44 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_server_derive_keys()
58 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys()
437 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_server_prf()
442 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_server_prf()
546 keys->server_random = conn->server_random; in tlsv1_server_get_keys()
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()
526 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_client_prf()
531 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_client_prf()
694 keys->server_random = conn->server_random; in tlsv1_client_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()
Dtlsv1_server.h42 const u8 *server_random, u8 *master_secret);
Dtlsv1_server_i.h27 u8 server_random[TLS_RANDOM_LEN]; member
Dtlsv1_client.h48 const u8 *server_random, u8 *master_secret);
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()
/external/wpa_supplicant_8/src/crypto/
Dtls.h19 const u8 *server_random; member
523 const u8 *server_random, u8 *master_secret);
Dtls_gnutls.c60 opaque server_random[WPA_TLS_RANDOM_SIZE]; member
770 keys->server_random = sec->server_random; in tls_connection_get_keys()
774 keys->server_random = in tls_connection_get_keys()
Dtls_openssl.c2333 keys->server_random = ssl->s3->server_random; in tls_connection_get_keys()
2905 s->s3->server_random, secret); in tls_sess_sec_cb()
/external/openssl/ssl/
Dt1_enc.c300 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_key_block()
512 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state()
523 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state()
629 { 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()
1097 s->s3->server_random,SSL3_RANDOM_SIZE, in tls1_generate_master_secret()
1107 BIO_dump_fp(stderr, (char *)s->s3->server_random, SSL3_RANDOM_SIZE); in tls1_generate_master_secret()
1152 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()
846 EVP_DigestUpdate(&ctx,&(s->s3->server_random[0]), in ssl3_generate_master_secret()
Dd1_srvr.c920 p=s->s3->server_random; in dtls1_send_server_hello()
931 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in dtls1_send_server_hello()
1378 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange()
1402 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange()
1421 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in dtls1_send_server_key_exchange()
Dssl3.h417 unsigned char server_random[SSL3_RANDOM_SIZE]; member
Ds3_srvr.c1223 pos=s->s3->server_random; in ssl3_get_client_hello()
1470 p=s->s3->server_random; in ssl3_send_server_hello()
1484 memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_send_server_hello()
1970 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange()
2009 EVP_SignUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_send_server_key_exchange()
Ds3_clnt.c950 memcpy(s->s3->server_random,p,SSL3_RANDOM_SIZE); in ssl3_get_server_hello()
1858 EVP_DigestUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
1885 EVP_VerifyUpdate(&md_ctx,&(s->s3->server_random[0]),SSL3_RANDOM_SIZE); in ssl3_get_key_exchange()
2816 EVP_DigestUpdate(ukm_hash,s->s3->server_random,SSL3_RANDOM_SIZE); in ssl3_send_client_key_exchange()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c315 if (keys.client_random == NULL || keys.server_random == NULL || in eap_peer_tls_derive_key()
323 os_memcpy(rnd + keys.client_random_len, keys.server_random, in eap_peer_tls_derive_key()
369 if (keys.client_random == NULL || keys.server_random == NULL || in eap_peer_tls_derive_session_id()
381 os_memcpy(out + 1 + keys.client_random_len, keys.server_random, in eap_peer_tls_derive_session_id()
Deap_fast.c75 const u8 *server_random, in eap_fast_session_ticket_cb() argument
82 if (client_random == NULL || server_random == NULL || in eap_fast_session_ticket_cb()
106 server_random, client_random, in eap_fast_session_ticket_cb()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c92 if (keys.client_random == NULL || keys.server_random == NULL || in eap_server_tls_derive_key()
100 os_memcpy(rnd + keys.client_random_len, keys.server_random, in eap_server_tls_derive_key()
Deap_server_fast.c122 const u8 *server_random, in eap_fast_session_ticket_cb() argument
258 eap_fast_derive_master_secret(pac_key, server_random, client_random, in eap_fast_session_ticket_cb()
/external/openssl/include/openssl/
Dssl3.h417 unsigned char server_random[SSL3_RANDOM_SIZE]; member