Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\crypto\chacha.c Create Date:2022-07-28 06:43:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void hchacha_block_generic(const u32 *state, u32 *stream, int nrounds)

Type:void

Parameter:

TypeParameterName
const u32 *state
u32 *stream
intnrounds
108  No 3D Now!(x, state, 64)
110  chacha_permute(x, nrounds)
112  No 3D Now!( & stream[0], & x[0], 16)
113  No 3D Now!( & stream[4], & x[12], 16)