Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / crypto / internal / blake2s.h
blob506d56530ca93f945d60e8ec9388a323226ca48f
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /*
3 * Helper functions for BLAKE2s implementations.
4 * Keep this in sync with the corresponding BLAKE2b header.
5 */
7 #ifndef _CRYPTO_INTERNAL_BLAKE2S_H
8 #define _CRYPTO_INTERNAL_BLAKE2S_H
10 #include <crypto/blake2s.h>
11 #include <linux/string.h>
13 void blake2s_compress_generic(struct blake2s_state *state, const u8 *block,
14 size_t nblocks, const u32 inc);
16 void blake2s_compress(struct blake2s_state *state, const u8 *block,
17 size_t nblocks, const u32 inc);
19 bool blake2s_selftest(void);
21 #endif /* _CRYPTO_INTERNAL_BLAKE2S_H */