Home
last modified time | relevance | path

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

12

/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_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.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/boringssl/src/ssl/
Dt1_enc.c455 ssl->s3->server_random, SSL3_RANDOM_SIZE, in SSL_generate_key_block()
468 ssl->s3->server_random, SSL3_RANDOM_SIZE, in SSL_generate_key_block()
492 ssl->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret()
500 ssl->s3->server_random, SSL3_RANDOM_SIZE)) { in tls1_generate_master_secret()
542 OPENSSL_memcpy(seed + SSL3_RANDOM_SIZE, ssl->s3->server_random, in SSL_export_keying_material()
Dtls13_client.c166 CBS cbs, server_random, extensions; in do_process_server_hello() local
171 !CBS_get_bytes(&cbs, &server_random, SSL3_RANDOM_SIZE) || in do_process_server_hello()
187 OPENSSL_memcpy(ssl->s3->server_random, CBS_data(&server_random), in do_process_server_hello()
Dhandshake_server.c1074 ssl->s3->server_random[0] = now.tv_sec >> 24; in ssl3_send_server_hello()
1075 ssl->s3->server_random[1] = now.tv_sec >> 16; in ssl3_send_server_hello()
1076 ssl->s3->server_random[2] = now.tv_sec >> 8; in ssl3_send_server_hello()
1077 ssl->s3->server_random[3] = now.tv_sec; in ssl3_send_server_hello()
1078 if (!RAND_bytes(ssl->s3->server_random + 4, SSL3_RANDOM_SIZE - 4)) { in ssl3_send_server_hello()
1093 !CBB_add_bytes(&body, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in ssl3_send_server_hello()
1267 !CBB_add_bytes(&transcript, ssl->s3->server_random, in ssl3_send_server_key_exchange()
Dtls13_server.c521 !RAND_bytes(ssl->s3->server_random, sizeof(ssl->s3->server_random)) || in do_send_server_hello()
522 !CBB_add_bytes(&body, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in do_send_server_hello()
Dhandshake_client.c837 CBS server_hello, server_random, session_id; in ssl3_get_server_hello() local
911 if (!CBS_get_bytes(&server_hello, &server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_hello()
922 OPENSSL_memcpy(ssl->s3->server_random, CBS_data(&server_random), SSL3_RANDOM_SIZE); in ssl3_get_server_hello()
1364 !CBB_add_bytes(&transcript, ssl->s3->server_random, SSL3_RANDOM_SIZE) || in ssl3_get_server_key_exchange()
Dssl_lib.c2503 return sizeof(ssl->s3->server_random); in SSL_get_server_random()
2505 if (max_out > sizeof(ssl->s3->server_random)) { in SSL_get_server_random()
2506 max_out = sizeof(ssl->s3->server_random); in SSL_get_server_random()
2508 OPENSSL_memcpy(out, ssl->s3->server_random, max_out); in SSL_get_server_random()
/external/wpa_supplicant_8/src/crypto/
Dtls.h17 const u8 *server_random; member
570 const u8 *server_random, u8 *master_secret);
Dtls_openssl.c85 os_memcpy(out, ssl->s3->server_random, SSL3_RANDOM_SIZE); in SSL_get_server_random()
235 unsigned char server_random[SSL3_RANDOM_SIZE]; member
3114 keys->server_random = conn->server_random; in tls_connection_get_random()
3116 ssl, conn->server_random, sizeof(conn->server_random)); in tls_connection_get_random()
3203 unsigned char server_random[SSL3_RANDOM_SIZE]; in tls_connection_get_eap_fast_key() local
3239 SSL_get_server_random(ssl, server_random, sizeof(server_random)); in tls_connection_get_eap_fast_key()
3243 os_memcpy(rnd, server_random, SSL3_RANDOM_SIZE); in tls_connection_get_eap_fast_key()
4185 s->s3->server_random, secret); in tls_sess_sec_cb()
4188 unsigned char server_random[SSL3_RANDOM_SIZE]; in tls_sess_sec_cb() local
4194 SSL_get_server_random(s, server_random, sizeof(server_random)); in tls_sess_sec_cb()
[all …]
/external/syslinux/gpxe/src/net/
Dtls.c305 DBGC_HD ( tls, &tls->server_random, sizeof ( tls->server_random ) ); in tls_generate_master_secret()
312 &tls->server_random, sizeof ( tls->server_random ) ); in tls_generate_master_secret()
339 &tls->server_random, sizeof ( tls->server_random ), in tls_generate_keys()
830 memcpy ( &tls->server_random, &hello_a->random, in tls_new_server_hello()
831 sizeof ( tls->server_random ) ); in tls_new_server_hello()
/external/syslinux/gpxe/src/include/gpxe/
Dtls.h154 uint8_t server_random[32]; 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()
162 os_memcpy(out + 1 + keys.client_random_len, keys.server_random, in eap_server_tls_derive_session_id()
/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()

12