Function report |
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 activity | Download SCCT | Chinese |
Name:hacha_block - generate one keystream block and increment block counter*@state: input state matrix (16 32-bit words)*@stream: output keystream block (64 bytes)*@nrounds: number of rounds (20 or 12; 20 is recommended)
Proto:void chacha_block_generic(u32 *state, u8 *stream, int nrounds)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
u32 * | state | |
u8 * | stream | |
int | nrounds |
82 | No 3D Now!(x, state, 64) |
84 | chacha_permute(x, nrounds) |
86 | When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(x) cycle put_unaligned_le32(x[i] + state[i], & stream[i * sizeof(u32)]) |
89 | state[12]++ |
Name | Describe |
---|---|
chacha20_block |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |