函数逻辑报告 |
Source Code:lib\crypto\chacha.c |
Create Date:2022-07-27 07:41:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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)
函数原型:void chacha_block_generic(u32 *state, u8 *stream, int nrounds)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
u32 * | state | |
u8 * | stream | |
int | nrounds |
84 | chacha_permute(x, nrounds) |
86 | 以i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(x)循环put_unaligned_le32(x[i] + state[i], & stream[i * sizeof(u32)]) |
89 | state[12]自加 |
名称 | 描述 |
---|---|
chacha20_block |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |