OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:csecret
(Results
1 - 2
of
2
) sorted by null
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
tlsv1_client_write.c
214
u8 *
csecret
, *csecret_start, *dh_yc, *shared;
local
218
csecret
= os_malloc(csecret_len);
219
if (
csecret
== NULL) {
226
if (os_get_random(
csecret
, csecret_len)) {
231
os_free(
csecret
);
235
if (os_memcmp(
csecret
, conn->dh_p, csecret_len) > 0)
236
csecret
[0] = 0; /* make sure Yc < p */
238
csecret_start =
csecret
;
246
/* Yc = g^
csecret
mod p */
254
os_free(
csecret
);
[
all
...]
/external/wpa_supplicant_8/src/tls/
tlsv1_client_write.c
211
u8 *
csecret
, *csecret_start, *dh_yc, *shared;
local
215
csecret
= os_malloc(csecret_len);
216
if (
csecret
== NULL) {
223
if (random_get_bytes(
csecret
, csecret_len)) {
228
os_free(
csecret
);
232
if (os_memcmp(
csecret
, conn->dh_p, csecret_len) > 0)
233
csecret
[0] = 0; /* make sure Yc < p */
235
csecret_start =
csecret
;
243
/* Yc = g^
csecret
mod p */
251
os_free(
csecret
);
[
all
...]
Completed in 130 milliseconds