Searched refs:csecret (Results 1 – 2 of 2) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
D | tlsv1_client_write.c | 351 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_dh() local 355 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh() 356 if (csecret == NULL) { in tlsv1_key_x_dh() 363 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_dh() 368 os_free(csecret); in tlsv1_key_x_dh() 372 if (os_memcmp(csecret, conn->dh_p, csecret_len) > 0) in tlsv1_key_x_dh() 373 csecret[0] = 0; /* make sure Yc < p */ in tlsv1_key_x_dh() 375 csecret_start = csecret; in tlsv1_key_x_dh() 391 os_free(csecret); in tlsv1_key_x_dh() 400 os_free(csecret); in tlsv1_key_x_dh() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
D | tlsv1_client_write.c | 339 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_dh() local 343 csecret = os_malloc(csecret_len); in tlsv1_key_x_dh() 344 if (csecret == NULL) { in tlsv1_key_x_dh() 351 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_dh() 356 os_free(csecret); in tlsv1_key_x_dh() 360 if (os_memcmp(csecret, conn->dh_p, csecret_len) > 0) in tlsv1_key_x_dh() 361 csecret[0] = 0; /* make sure Yc < p */ in tlsv1_key_x_dh() 363 csecret_start = csecret; in tlsv1_key_x_dh() 379 os_free(csecret); in tlsv1_key_x_dh() 388 os_free(csecret); in tlsv1_key_x_dh() [all …]
|