Home
last modified time | relevance | path

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

/linux/drivers/net/wireguard/
H A Dnoise.c344 static void kdf(u8 *first_dst, u8 *second_dst, u8 *third_dst, const u8 *data, in kdf() argument
355 ((second_len || second_dst || third_len || third_dst) && in kdf()
357 ((third_len || third_dst) && (!second_len || !second_dst)))); in kdf()
370 if (!second_dst || !second_len) in kdf()
376 memcpy(second_dst, output, second_len); in kdf()
393 struct noise_symmetric_key *second_dst, in derive_keys() argument
397 kdf(first_dst->key, second_dst->key, NULL, NULL, in derive_keys()
400 first_dst->birthdate = second_dst->birthdate = birthdate; in derive_keys()
401 first_dst->is_valid = second_dst->is_valid = true; in derive_keys()