Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_fast_common.c75 const u8 *client_random, u8 *master_secret) in eap_fast_derive_master_secret() argument
82 client_random, TLS_RANDOM_LEN); in eap_fast_derive_master_secret()
92 os_memcpy(seed + TLS_RANDOM_LEN, client_random, TLS_RANDOM_LEN); in eap_fast_derive_master_secret()
131 os_memcpy(rnd + keys.server_random_len, keys.client_random, in eap_fast_derive_key()
Deap_fast_common.h105 const u8 *client_random, u8 *master_secret);
/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()
125 os_memcpy(rnd + keys.server_random_len, keys.client_random, in eap_fast_derive_key()
Deap_fast_common.h99 const u8 *client_random, u8 *master_secret);
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server.c43 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys()
59 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys()
440 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, in tlsv1_server_prf()
443 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_prf()
544 keys->client_random = conn->client_random; in tlsv1_server_get_keys()
Dtlsv1_client.c61 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
77 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
529 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, in tlsv1_client_prf()
532 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_client_prf()
692 keys->client_random = conn->client_random; in tlsv1_client_get_keys()
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_i.h25 u8 client_random[TLS_RANDOM_LEN]; member
Dtlsv1_client_write.c55 WPA_PUT_BE32(conn->client_random, now.sec); in tls_send_client_hello()
56 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) { in tls_send_client_hello()
62 conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello()
87 os_memcpy(pos, conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_server.c49 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys()
64 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys()
407 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, in tlsv1_server_prf()
410 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_prf()
510 keys->client_random = conn->client_random; in tlsv1_server_get_keys()
Dtlsv1_client.c67 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
82 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
416 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, in tlsv1_client_prf()
419 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_client_prf()
569 keys->client_random = conn->client_random; in tlsv1_client_get_keys()
Dtlsv1_server.h47 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
Dtlsv1_server_i.h32 u8 client_random[TLS_RANDOM_LEN]; member
Dtlsv1_client.h52 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
Dtlsv1_client_i.h31 u8 client_random[TLS_RANDOM_LEN]; member
Dtlsv1_client_write.c59 WPA_PUT_BE32(conn->client_random, now.sec); in tls_send_client_hello()
60 if (os_get_random(conn->client_random + 4, TLS_RANDOM_LEN - 4)) { in tls_send_client_hello()
66 conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello()
91 os_memcpy(pos, conn->client_random, TLS_RANDOM_LEN); in tls_send_client_hello()
/external/openssl/ssl/
Ds23_clnt.c357 p=s->s3->client_random; in ssl23_client_hello()
448 memset(&(s->s3->client_random[0]),0,SSL3_RANDOM_SIZE); in ssl23_client_hello()
449 if (RAND_pseudo_bytes(&(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i) <= 0) in ssl23_client_hello()
452 memcpy(p,&(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i); in ssl23_client_hello()
476 memcpy(p, s->s3->client_random, SSL3_RANDOM_SIZE); in ssl23_client_hello()
641 &(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i); in ssl23_get_server_hello()
Dt1_enc.c301 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_generate_key_block()
511 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state()
522 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_change_cipher_state()
627 { int z; for (z=0; z<SSL3_RANDOM_SIZE; z++) printf("%02X%c",s->s3->client_random[z],((z+1)%16)?' ':… in tls1_setup_key_block()
1104 s->s3->client_random,SSL3_RANDOM_SIZE, in tls1_generate_master_secret()
1114 BIO_dump_fp(stderr, (char *)s->s3->client_random, SSL3_RANDOM_SIZE); in tls1_generate_master_secret()
1159 memcpy(val + currentvalpos, s->s3->client_random, SSL3_RANDOM_SIZE); in tls1_export_keying_material()
Dd1_clnt.c249 memset(s->s3->client_random,0,sizeof(s->s3->client_random)); in IMPLEMENT_dtls1_meth_func()
803 p=s->s3->client_random; in dtls1_client_hello()
807 for (i=0;p[i]=='\0' && i<sizeof(s->s3->client_random);i++) ; in dtls1_client_hello()
808 if (i==sizeof(s->s3->client_random)) in dtls1_client_hello()
812 RAND_pseudo_bytes(p,sizeof(s->s3->client_random)-4); in dtls1_client_hello()
823 memcpy(p,s->s3->client_random,SSL3_RANDOM_SIZE); in dtls1_client_hello()
Ds3_enc.c193 EVP_DigestUpdate(&s1,s->s3->client_random,SSL3_RANDOM_SIZE); in ssl3_generate_key_block()
331 er1= &(s->s3->client_random[0]); in ssl3_change_cipher_state()
341 er2= &(s->s3->client_random[0]); in ssl3_change_cipher_state()
807 EVP_DigestUpdate(&ctx,&(s->s3->client_random[0]), in ssl3_generate_master_secret()
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dtls.h23 const u8 *client_random; member
531 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
/external/wpa_supplicant_8/src/crypto/
Dtls.h17 const u8 *client_random; member
513 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls_common.c80 if (keys.client_random == NULL || keys.server_random == NULL || in eap_server_tls_derive_key()
87 os_memcpy(rnd, keys.client_random, keys.client_random_len); in eap_server_tls_derive_key()

12