/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_fast_common.c | 75 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()
|
D | eap_fast_common.h | 105 const u8 *client_random, u8 *master_secret);
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.c | 69 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()
|
D | eap_fast_common.h | 99 const u8 *client_random, u8 *master_secret);
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_server.c | 43 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()
|
D | tlsv1_client.c | 61 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()
|
D | tlsv1_server.h | 41 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
|
D | tlsv1_server_i.h | 26 u8 client_random[TLS_RANDOM_LEN]; member
|
D | tlsv1_client.h | 47 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
|
D | tlsv1_client_i.h | 25 u8 client_random[TLS_RANDOM_LEN]; member
|
D | tlsv1_client_write.c | 55 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/ |
D | tlsv1_server.c | 49 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()
|
D | tlsv1_client.c | 67 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()
|
D | tlsv1_server.h | 47 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
|
D | tlsv1_server_i.h | 32 u8 client_random[TLS_RANDOM_LEN]; member
|
D | tlsv1_client.h | 52 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
|
D | tlsv1_client_i.h | 31 u8 client_random[TLS_RANDOM_LEN]; member
|
D | tlsv1_client_write.c | 59 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/ |
D | s23_clnt.c | 357 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()
|
D | t1_enc.c | 301 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()
|
D | d1_clnt.c | 249 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()
|
D | s3_enc.c | 193 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/ |
D | tls.h | 23 const u8 *client_random; member 531 (void *ctx, const u8 *ticket, size_t len, const u8 *client_random,
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls.h | 17 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/ |
D | eap_server_tls_common.c | 80 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()
|