Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\crypto\blake2s.h Create Date:2022-07-28 06:44:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blake2s

Proto:static inline void blake2s(u8 *out, const u8 *in, const u8 *key, const size_t outlen, const size_t inlen, const size_t keylen)

Type:void

Parameter:

TypeParameterName
u8 *out
const u8 *in
const u8 *key
const size_toutlen
const size_tinlen
const size_tkeylen
90  WARN_ON(IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(DEBUG) && ((!in && inlen > 0) || !out || !outlen || outlen > BLAKE2S_HASH_SIZE || keylen > BLAKE2S_KEY_SIZE || (!key && keylen)))
94  If keylen Then blake2s_init_key( & state, outlen, key, keylen)
96  Else blake2s_init( & state, outlen)
99  blake2s_update( & state, in, inlen)
100  blake2s_final( & state, out)
Caller
NameDescribe
blake2s_selftest