Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:rnd

377 	u8 *rnd;
392 rnd = os_malloc(keys.client_random_len + keys.server_random_len);
394 if (rnd == NULL || data->key_data == NULL) {
396 os_free(rnd);
401 os_memcpy(rnd, keys.client_random, keys.client_random_len);
402 os_memcpy(rnd + keys.client_random_len, keys.server_random,
406 "ttls v1 keying material", rnd, keys.client_random_len +
409 os_free(rnd);
416 rnd, keys.client_random_len + keys.server_random_len);
420 os_free(rnd);
433 u8 *challenge, *rnd;
450 rnd = os_malloc(keys.client_random_len + keys.server_random_len);
452 if (rnd == NULL || challenge == NULL) {
455 os_free(rnd);
459 os_memcpy(rnd, keys.server_random, keys.server_random_len);
460 os_memcpy(rnd + keys.server_random_len, keys.client_random,
464 "inner application challenge", rnd,
469 os_free(rnd);
474 os_free(rnd);