Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireguard/
Dnoise.c309 static void kdf(u8 *first_dst, u8 *second_dst, u8 *third_dst, const u8 *data, in kdf() argument
320 ((second_len || second_dst || third_len || third_dst) && in kdf()
322 ((third_len || third_dst) && (!second_len || !second_dst)))); in kdf()
335 if (!second_dst || !second_len) in kdf()
342 memcpy(second_dst, output, second_len); in kdf()
360 struct noise_symmetric_key *second_dst, in derive_keys() argument
364 kdf(first_dst->key, second_dst->key, NULL, NULL, in derive_keys()
367 first_dst->birthdate = second_dst->birthdate = birthdate; in derive_keys()
368 first_dst->is_valid = second_dst->is_valid = true; in derive_keys()