Searched refs:csecret_len (Results 1 – 2 of 2) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
D | tlsv1_client_write.c | 352 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_dh() local 354 csecret_len = conn->dh_p_len; in tlsv1_key_x_dh() 355 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh() 363 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_dh() 372 if (os_memcmp(csecret, conn->dh_p, csecret_len) > 0) in tlsv1_key_x_dh() 376 while (csecret_len > 1 && *csecret_start == 0) { in tlsv1_key_x_dh() 378 csecret_len--; in tlsv1_key_x_dh() 381 csecret_start, csecret_len); in tlsv1_key_x_dh() 395 csecret_start, csecret_len, in tlsv1_key_x_dh() 443 csecret_start, csecret_len, in tlsv1_key_x_dh() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
D | tlsv1_client_write.c | 340 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_dh() local 342 csecret_len = conn->dh_p_len; in tlsv1_key_x_dh() 343 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh() 351 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_dh() 360 if (os_memcmp(csecret, conn->dh_p, csecret_len) > 0) in tlsv1_key_x_dh() 364 while (csecret_len > 1 && *csecret_start == 0) { in tlsv1_key_x_dh() 366 csecret_len--; in tlsv1_key_x_dh() 369 csecret_start, csecret_len); in tlsv1_key_x_dh() 383 csecret_start, csecret_len, in tlsv1_key_x_dh() 431 csecret_start, csecret_len, in tlsv1_key_x_dh() [all …]
|