Home
last modified time | relevance | path

Searched refs:csecret (Results 1 – 1 of 1) sorted by relevance

/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_write.c211 u8 *csecret, *csecret_start, *dh_yc, *shared; in tlsv1_key_x_anon_dh() local
215 csecret = os_malloc(csecret_len); in tlsv1_key_x_anon_dh()
216 if (csecret == NULL) { in tlsv1_key_x_anon_dh()
223 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_anon_dh()
228 os_free(csecret); in tlsv1_key_x_anon_dh()
232 if (os_memcmp(csecret, conn->dh_p, csecret_len) > 0) in tlsv1_key_x_anon_dh()
233 csecret[0] = 0; /* make sure Yc < p */ in tlsv1_key_x_anon_dh()
235 csecret_start = csecret; in tlsv1_key_x_anon_dh()
251 os_free(csecret); in tlsv1_key_x_anon_dh()
260 os_free(csecret); in tlsv1_key_x_anon_dh()
[all …]