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.c351 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 …]