函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hchacha_block_generic - abbreviated ChaCha core, for XChaCha*@state: input state matrix (16 32-bit words)*@out: output (8 32-bit words)*@nrounds: number of rounds (20 or 12; 20 is recommended)* HChaCha is the ChaCha equivalent of HSalsa and is an

函数原型:void hchacha_block_generic(const u32 *state, u32 *stream, int nrounds)

返回类型:void

参数:

类型参数名称
const u32 *state
u32 *stream
intnrounds
108  内存复制(x, state, 64)
110  chacha_permute(x, nrounds)
112  内存复制( & stream[0], & x[0], 16)
113  内存复制( & stream[4], & x[12], 16)