Home
last modified time | relevance | path

Searched refs:client_random (Results 1 – 25 of 28) sorted by relevance

12

/external/wpa_supplicant_8/src/tls/
Dtlsv1_server.c68 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys()
84 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys()
478 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, in tlsv1_server_prf()
481 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_prf()
624 keys->client_random = conn->client_random; in tlsv1_server_get_random()
Dtlsv1_common.c339 const u8 *client_random, in tlsv12_key_x_server_params_hash() argument
367 crypto_hash_update(ctx, client_random, TLS_RANDOM_LEN); in tlsv12_key_x_server_params_hash()
378 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random, in tls_key_x_server_params_hash() argument
392 crypto_hash_update(ctx, client_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash()
403 crypto_hash_update(ctx, client_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash()
Dtlsv1_client.c62 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
78 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
533 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, in tlsv1_client_prf()
536 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_client_prf()
727 keys->client_random = conn->client_random; in tlsv1_client_get_random()
Dtlsv1_common.h263 const u8 *client_random,
267 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random,
Dtlsv1_server.h41 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
Dtlsv1_server_i.h26 u8 client_random[TLS_RANDOM_LEN]; member
Dtlsv1_client.h47 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
Dtlsv1_client_write.c75 WPA_PUT_BE32(conn->client_random, now.sec); in tls_send_client_hello()
76 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) { in tls_send_client_hello()
82 conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello()
107 os_memcpy(pos, conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello()
Dtlsv1_client_i.h25 u8 client_random[TLS_RANDOM_LEN]; member
Dtlsv1_server_write.c130 conn->client_random, conn->server_random, in tls_write_server_hello()
570 conn->client_random, in tls_write_server_key_exchange()
618 conn->rl.tls_version, conn->client_random, in tls_write_server_key_exchange()
Dtlsv1_client_read.c245 conn->client_random, conn->server_random, in tls_process_server_hello()
758 conn->client_random, in tlsv1_process_diffie_hellman()
767 conn->rl.tls_version, conn->client_random, in tlsv1_process_diffie_hellman()
Dtlsv1_server_read.c202 os_memcpy(conn->client_random, pos, TLS_RANDOM_LEN); in tls_process_client_hello()
205 conn->client_random, TLS_RANDOM_LEN); in tls_process_client_hello()
/external/wpa_supplicant_8/src/eap_common/
Deap_fast_common.c69 const u8 *client_random, u8 *master_secret) in eap_fast_derive_master_secret() argument
76 client_random, TLS_RANDOM_LEN); in eap_fast_derive_master_secret()
86 os_memcpy(seed + TLS_RANDOM_LEN, client_random, TLS_RANDOM_LEN); in eap_fast_derive_master_secret()
Deap_fast_common.h99 const u8 *client_random, u8 *master_secret);
/external/boringssl/src/ssl/
Dt1_enc.c456 ssl->s3->client_random, SSL3_RANDOM_SIZE); in SSL_generate_key_block()
469 ssl->s3->client_random, SSL3_RANDOM_SIZE); in SSL_generate_key_block()
491 ssl->s3->client_random, SSL3_RANDOM_SIZE, in tls1_generate_master_secret()
499 ssl->s3->client_random, SSL3_RANDOM_SIZE, in tls1_generate_master_secret()
541 OPENSSL_memcpy(seed, ssl->s3->client_random, SSL3_RANDOM_SIZE); in SSL_export_keying_material()
Dhandshake_client.c537 uint16_t ret = ssl->s3->client_random[index]; in ssl_get_grease_value()
689 !CBB_add_bytes(&body, ssl->s3->client_random, SSL3_RANDOM_SIZE) || in ssl_write_client_hello()
781 !RAND_bytes(ssl->s3->client_random, sizeof(ssl->s3->client_random))) { in ssl3_send_client_hello()
1363 !CBB_add_bytes(&transcript, ssl->s3->client_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_key_exchange()
Dssl_lib.c2266 !cbb_add_hex(&cbb, ssl->s3->client_random, SSL3_RANDOM_SIZE) || in ssl_log_secret()
2492 return sizeof(ssl->s3->client_random); in SSL_get_client_random()
2494 if (max_out > sizeof(ssl->s3->client_random)) { in SSL_get_client_random()
2495 max_out = sizeof(ssl->s3->client_random); in SSL_get_client_random()
2497 OPENSSL_memcpy(out, ssl->s3->client_random, max_out); in SSL_get_client_random()
/external/syslinux/gpxe/src/net/
Dtls.c303 DBGC_HD ( tls, &tls->client_random, sizeof ( tls->client_random ) ); in tls_generate_master_secret()
311 &tls->client_random, sizeof ( tls->client_random ), in tls_generate_master_secret()
340 &tls->client_random, sizeof ( tls->client_random ) ); in tls_generate_keys()
633 memcpy ( &hello.random, &tls->client_random, sizeof ( hello.random ) ); in tls_send_client_hello()
1742 tls->client_random.gmt_unix_time = 0; in add_tls()
1743 tls_generate_random ( &tls->client_random.random, in add_tls()
1744 ( sizeof ( tls->client_random.random ) ) ); in add_tls()
/external/wpa_supplicant_8/src/crypto/
Dtls.h15 const u8 *client_random; member
569 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
Dtls_openssl.c75 os_memcpy(out, ssl->s3->client_random, SSL3_RANDOM_SIZE); in SSL_get_client_random()
234 unsigned char client_random[SSL3_RANDOM_SIZE]; member
3111 keys->client_random = conn->client_random; in tls_connection_get_random()
3113 ssl, conn->client_random, sizeof(conn->client_random)); in tls_connection_get_random()
3202 unsigned char client_random[SSL3_RANDOM_SIZE]; in tls_connection_get_eap_fast_key() local
3238 SSL_get_client_random(ssl, client_random, sizeof(client_random)); in tls_connection_get_eap_fast_key()
3244 os_memcpy(rnd + SSL3_RANDOM_SIZE, client_random, SSL3_RANDOM_SIZE); in tls_connection_get_eap_fast_key()
4184 s->s3->client_random, in tls_sess_sec_cb()
4187 unsigned char client_random[SSL3_RANDOM_SIZE]; in tls_sess_sec_cb() local
4193 SSL_get_client_random(s, client_random, sizeof(client_random)); in tls_sess_sec_cb()
[all …]
/external/syslinux/gpxe/src/include/gpxe/
Dtls.h156 struct tls_client_random client_random; member
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c151 if (keys.client_random == NULL || keys.server_random == NULL) in eap_server_tls_derive_session_id()
161 os_memcpy(out + 1, keys.client_random, keys.client_random_len); in eap_server_tls_derive_session_id()
Deap_server_fast.c121 const u8 *client_random, in eap_fast_session_ticket_cb() argument
263 eap_fast_derive_master_secret(pac_key, server_random, client_random, in eap_fast_session_ticket_cb()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls_common.c362 keys.client_random == NULL || keys.server_random == NULL) in eap_peer_tls_derive_session_id()
372 os_memcpy(out + 1, keys.client_random, keys.client_random_len); in eap_peer_tls_derive_session_id()
Deap_fast.c75 const u8 *client_random, in eap_fast_session_ticket_cb() argument
83 if (client_random == NULL || server_random == NULL || in eap_fast_session_ticket_cb()
107 server_random, client_random, in eap_fast_session_ticket_cb()

12