Searched refs:blake (Results 1 - 2 of 2) sorted by relevance
/linux-master/drivers/net/wireguard/ |
H A D | cookie.c | 36 struct blake2s_state blake; local 38 blake2s_init(&blake, NOISE_SYMMETRIC_KEY_LEN); 39 blake2s_update(&blake, label, COOKIE_KEY_LABEL_LEN); 40 blake2s_update(&blake, pubkey, NOISE_PUBLIC_KEY_LEN); 41 blake2s_final(&blake, key);
|
H A D | noise.c | 36 struct blake2s_state blake; local 40 blake2s_init(&blake, NOISE_HASH_LEN); 41 blake2s_update(&blake, handshake_init_chaining_key, NOISE_HASH_LEN); 42 blake2s_update(&blake, identifier_name, sizeof(identifier_name)); 43 blake2s_final(&blake, handshake_init_hash); 434 struct blake2s_state blake; local 436 blake2s_init(&blake, NOISE_HASH_LEN); 437 blake2s_update(&blake, hash, NOISE_HASH_LEN); 438 blake2s_update(&blake, src, src_len); 439 blake2s_final(&blake, has [all...] |
Completed in 93 milliseconds