函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\crypto\blake2s.h Create Date:2022-07-27 07:41:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blake2s_init_key

函数原型:static inline void blake2s_init_key(struct blake2s_state *state, const size_t outlen, const void *key, const size_t keylen)

返回类型:void

参数:

类型参数名称
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  内存复制(buf, key, keylen)
80  buflen等于BLAKE2S_BLOCK_SIZE
81  outlen等于outlen
调用者
名称描述
blake2s_selftest
blake2s