Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
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()
628 keys->server_random = conn->server_random; in tlsv1_server_get_random()
Dtlsv1_common.c340 const u8 *server_random, in tlsv12_key_x_server_params_hash() argument
368 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tlsv12_key_x_server_params_hash()
379 const u8 *server_random, in tls_key_x_server_params_hash() argument
393 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash()
404 crypto_hash_update(ctx, server_random, TLS_RANDOM_LEN); in tls_key_x_server_params_hash()
Dtlsv1_client.c63 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tls_derive_keys()
77 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tls_derive_keys()
532 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_client_prf()
537 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_client_prf()
731 keys->server_random = conn->server_random; in tlsv1_client_get_random()
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()
130 conn->client_random, conn->server_random, in tls_write_server_hello()
571 conn->server_random, server_params, in tls_write_server_key_exchange()
619 conn->server_random, server_params, in tls_write_server_key_exchange()
Dtlsv1_common.h264 const u8 *server_random,
268 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.c145 os_memcpy(conn->server_random, pos, TLS_RANDOM_LEN); in tls_process_server_hello()
148 conn->server_random, TLS_RANDOM_LEN); in tls_process_server_hello()
245 conn->client_random, conn->server_random, in tls_process_server_hello()
759 conn->server_random, server_params, in tlsv1_process_diffie_hellman()
768 conn->server_random, server_params, in tlsv1_process_diffie_hellman()
/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()
Deap_fast_common.h98 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
/external/wpa_supplicant_8/src/crypto/
Dtls.h17 const u8 *server_random; member
563 const u8 *server_random, u8 *master_secret);
Dtls_openssl.c75 os_memcpy(out, ssl->s3->server_random, SSL3_RANDOM_SIZE); in SSL_get_server_random()
223 unsigned char server_random[SSL3_RANDOM_SIZE]; member
3078 keys->server_random = conn->server_random; in tls_connection_get_random()
3080 ssl, conn->server_random, sizeof(conn->server_random)); in tls_connection_get_random()
3161 unsigned char server_random[SSL3_RANDOM_SIZE]; in openssl_tls_prf()
3199 SSL_get_server_random(ssl, server_random, sizeof(server_random)); in openssl_tls_prf()
3204 os_memcpy(rnd, server_random, SSL3_RANDOM_SIZE); in openssl_tls_prf()
3209 os_memcpy(rnd + SSL3_RANDOM_SIZE, server_random, in openssl_tls_prf()
4170 s->s3->server_random, secret); in tls_sess_sec_cb()
4173 unsigned char server_random[SSL3_RANDOM_SIZE]; in tls_sess_sec_cb() local
[all …]
Dtls_gnutls.c802 keys->server_random = server.data; in tls_connection_get_random()
/external/boringssl/src/ssl/
Dt1_enc.c267 TLS_MD_KEY_EXPANSION_CONST_SIZE, ssl->s3->server_random, SSL3_RANDOM_SIZE, in tls1_generate_key_block()
565 ssl->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret()
597 memcpy(seed + SSL3_RANDOM_SIZE, ssl->s3->server_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material()
Ds3_clnt.c745 CBS server_hello, server_random, session_id; in ssl3_get_server_hello() local
772 !CBS_get_bytes(&server_hello, &server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_hello()
806 memcpy(ssl->s3->server_random, CBS_data(&server_random), SSL3_RANDOM_SIZE); in ssl3_get_server_hello()
1267 !EVP_DigestVerifyUpdate(&md_ctx, ssl->s3->server_random, in ssl3_get_server_key_exchange()
Ds3_srvr.c1136 if (!ssl_fill_hello_random(ssl->s3->server_random, SSL3_RANDOM_SIZE, in ssl3_send_server_hello()
1148 !CBB_add_bytes(&cbb, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in ssl3_send_server_hello()
1329 EVP_DigestUpdate(&md_ctx, ssl->s3->server_random, SSL3_RANDOM_SIZE) && in ssl3_send_server_key_exchange()
/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()
162 os_memcpy(out + 1 + keys.client_random_len, keys.server_random, in eap_server_tls_derive_session_id()
Deap_server_fast.c122 const u8 *server_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/tlsdate/src/
Dtlsdate-helper-plan9.c242 memcpy(&server_time, ssl->s3->server_random, sizeof(uint32_t)); in openssl_time_callback()
1059 memcpy(time_map, ssl->s3->server_random, sizeof (uint32_t)); in run_ssl()
Dtlsdate-helper.c374 memcpy(&server_time, ssl->s3->server_random, sizeof(uint32_t)); in openssl_time_callback()
1192 memcpy(&result_time, ssl->s3->server_random, sizeof (uint32_t)); in run_ssl()
/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()
373 os_memcpy(out + 1 + keys.client_random_len, keys.server_random, in eap_peer_tls_derive_session_id()
Deap_fast.c76 const u8 *server_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()
/external/boringssl/src/include/openssl/
Dssl.h3929 uint8_t server_random[SSL3_RANDOM_SIZE]; member