函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blake2s

函数原型:static inline void blake2s(u8 *out, const u8 *in, const u8 *key, const size_t outlen, const size_t inlen, const size_t keylen)

返回类型:void

参数:

类型参数名称
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  如果keylenblake2s_init_key( & state, outlen, key, keylen)
96  否则blake2s_init( & state, outlen)
99  blake2s_update( & state, in, inlen)
100  blake2s_final( & state, out)
调用者
名称描述
blake2s_selftest