Searched refs:blake2s_update (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/wireguard/ |
H A D | cookie.c | 39 blake2s_update(&blake, label, COOKIE_KEY_LABEL_LEN); in precompute_key() 40 blake2s_update(&blake, pubkey, NOISE_PUBLIC_KEY_LEN); in precompute_key() 108 blake2s_update(&state, (u8 *)&ip_hdr(skb)->saddr, in make_cookie() 111 blake2s_update(&state, (u8 *)&ipv6_hdr(skb)->saddr, in make_cookie() 113 blake2s_update(&state, (u8 *)&udp_hdr(skb)->source, sizeof(__be16)); in make_cookie()
|
H A D | noise.c | 41 blake2s_update(&blake, handshake_init_chaining_key, NOISE_HASH_LEN); in wg_noise_init() 42 blake2s_update(&blake, identifier_name, sizeof(identifier_name)); in wg_noise_init() 314 blake2s_update(&state, key, keylen); in hmac() 323 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in hmac() 324 blake2s_update(&state, in, inlen); in hmac() 331 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in hmac() 332 blake2s_update(&state, i_hash, BLAKE2S_HASH_SIZE); in hmac() 437 blake2s_update(&blake, hash, NOISE_HASH_LEN); in mix_hash() 438 blake2s_update(&blake, src, src_len); in mix_hash()
|
/openbmc/linux/lib/crypto/ |
H A D | blake2s.c | 24 void blake2s_update(struct blake2s_state *state, const u8 *in, size_t inlen) in blake2s_update() function 46 EXPORT_SYMBOL(blake2s_update);
|
H A D | blake2s-selftest.c | 582 blake2s_update(&state, buf, l); in blake2s_digest_test() 583 blake2s_update(&state, buf + l, i - l); in blake2s_digest_test()
|
/openbmc/linux/include/crypto/ |
H A D | blake2s.h | 86 void blake2s_update(struct blake2s_state *state, const u8 *in, size_t inlen); 100 blake2s_update(&state, in, inlen); in blake2s()
|
/openbmc/linux/drivers/char/ |
H A D | random.c | 630 blake2s_update(&input_pool.hash, buf, len); in _mix_pool_bytes()
|