Home
last modified time | relevance | path

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

/linux/lib/crypto/tests/
H A Dblake2s_kunit.c5 #include <crypto/blake2s.h>
6 #include "blake2s-testvecs.h"
17 blake2s(NULL, 0, data, len, out, BLAKE2S_HASH_SIZE); in blake2s_default()
55 blake2s(key, key_len, data, data_len, hash, out_len); in test_blake2s_all_key_and_hash_lens()
66 * key lengths. Also tests both blake2s() and blake2s_init_key().
85 blake2s(key, key_len, data, data_len, hash1, BLAKE2S_HASH_SIZE); in test_blake2s_with_guarded_key_buf()
86 blake2s(guarded_key, key_len, data, data_len, hash2, in test_blake2s_with_guarded_key_buf()
112 blake2s(NULL, 0, data, data_len, hash, out_len); in test_blake2s_with_guarded_out_buf()
113 blake2s(NULL, 0, data, data_len, guarded_hash, out_len); in test_blake2s_with_guarded_out_buf()
128 .name = "blake2s",
[all...]
/linux/drivers/net/wireguard/
H A Dcookie.c80 blake2s(key, NOISE_SYMMETRIC_KEY_LEN, message, len, mac1, COOKIE_LEN); in compute_mac1()
88 blake2s(cookie, COOKIE_LEN, message, len, mac2, COOKIE_LEN); in compute_mac2()
H A Dnoise.c38 blake2s(NULL, 0, handshake_name, sizeof(handshake_name), in wg_noise_init()
/linux/include/crypto/
H A Dblake2s.h145 static inline void blake2s(const u8 *key, size_t keylen, in blake2s() function
/linux/Documentation/crypto/
H A Dlibcrypto-hash.rst26 .. kernel-doc:: include/crypto/blake2s.h
/linux/drivers/char/
H A Drandom.c691 blake2s(seed, sizeof(seed), (const u8 *)&block, sizeof(block), next_key, sizeof(next_key)); in extract_entropy()
701 blake2s(seed, sizeof(seed), (const u8 *)&block, sizeof(block), buf, i); in extract_entropy()
/linux/tools/perf/util/
H A DBuild10 perf-util-y += blake2s.o
/linux/Documentation/admin-guide/LSM/
H A Dipe.rst659 + blake2s-256