Function report |
Source Code:include\crypto\chacha.h |
Create Date:2022-07-28 06:43:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:chacha_init_generic
Proto:static inline void chacha_init_generic(u32 *state, const u32 *key, const u8 *iv)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u32 * | state | |
| const u32 * | key | |
| const u8 * | iv |
| 57 | state[0] = 0x61707865 |
| 58 | state[1] = 0x3320646e |
| 59 | state[2] = 0x79622d32 |
| 60 | state[3] = 0x6b206574 |
| 69 | state[12] = get_unaligned_le32(iv + 0) |
| 70 | state[13] = get_unaligned_le32(iv + 4) |
| 71 | state[14] = get_unaligned_le32(iv + 8) |
| 72 | state[15] = get_unaligned_le32(iv + 12) |
| 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 |