Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blake2s_init_key

Proto:static inline void blake2s_init_key(struct blake2s_state *state, const size_t outlen, const void *key, const size_t keylen)

Type:void

Parameter:

TypeParameterName
struct blake2s_state *state
const size_toutlen
const void *key
const size_tkeylen
75  WARN_ON(IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(DEBUG) && (!outlen || outlen > BLAKE2S_HASH_SIZE || !key || !keylen || keylen > BLAKE2S_KEY_SIZE))
78  blake2s_init_param(state, 0x01010000 | keylen << 8 | outlen)
79  No 3D Now!(buf, key, keylen)
80  buflen = BLAKE2S_BLOCK_SIZE
81  outlen = outlen
Caller
NameDescribe
blake2s_selftest