Home
last modified time | relevance | path

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

/drivers/net/wireguard/
Dnoise.c344 static void kdf(u8 *first_dst, u8 *second_dst, u8 *third_dst, const u8 *data, in kdf() argument
356 (!first_len || !first_dst)) || in kdf()
362 if (!first_dst || !first_len) in kdf()
368 memcpy(first_dst, output, first_len); in kdf()
392 static void derive_keys(struct noise_symmetric_key *first_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()