Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dutil.c64 blake2s_update(&ctx, data, i); in test_blake2s()
69 blake2s_update(&ctx, data, i / 2); in test_blake2s()
70 blake2s_update(&ctx, &data[i / 2], i - (i / 2)); in test_blake2s()
79 blake2s_update(&main_ctx, hash, HASH_LEN); in test_blake2s()
/linux/drivers/net/wireguard/
H A Dcookie.c39 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(&blake, (u8 *)&ip_hdr(skb)->saddr, in make_cookie()
111 blake2s_update(&blake, (u8 *)&ipv6_hdr(skb)->saddr, in make_cookie()
113 blake2s_update(&blake, (u8 *)&udp_hdr(skb)->source, sizeof(__be16)); in make_cookie()
H A Dnoise.c41 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(&blake, key, keylen); in hmac()
323 blake2s_update(&blake, x_key, BLAKE2S_BLOCK_SIZE); in hmac()
324 blake2s_update(&blake, in, inlen); in hmac()
331 blake2s_update(&blake, x_key, BLAKE2S_BLOCK_SIZE); in hmac()
332 blake2s_update(&blake, 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()
/linux/lib/crypto/tests/
H A Dblake2s_kunit.c33 #define HASH_UPDATE blake2s_update
56 blake2s_update(&main_ctx, hash, out_len); in test_blake2s_all_key_and_hash_lens()
90 blake2s_update(&ctx, test_buf, data_len); in test_blake2s_with_guarded_key_buf()
/linux/include/crypto/
H A Dblake2s.h119 void blake2s_update(struct blake2s_ctx *ctx, const u8 *in, size_t inlen);
156 blake2s_update(&ctx, in, inlen); in blake2s()
/linux/lib/crypto/
H A Dblake2s.c111 void blake2s_update(struct blake2s_ctx *ctx, const u8 *in, size_t inlen) in blake2s_update() function
134 EXPORT_SYMBOL(blake2s_update);
/linux/tools/perf/util/
H A Dblake2s.h69 void blake2s_update(struct blake2s_ctx *ctx, const u8 *in, size_t inlen);
H A Dgenelf.c170 blake2s_update(ctx, (const u8 *)&prefix, sizeof(prefix)); in blake2s_update_tagged()
171 blake2s_update(ctx, data, len); in blake2s_update_tagged()
H A Dblake2s.c118 void blake2s_update(struct blake2s_ctx *ctx, const u8 *in, size_t inlen) in blake2s_update() function
/linux/drivers/char/
H A Drandom.c642 blake2s_update(&input_pool.hash, buf, len); in _mix_pool_bytes()