Function report |
Source Code:lib\crypto\poly1305.c |
Create Date:2022-07-28 06:47:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:poly1305_update_generic
Proto:void poly1305_update_generic(struct poly1305_desc_ctx *desc, const u8 *src, unsigned int nbytes)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct poly1305_desc_ctx * | desc | |
| const u8 * | src | |
| unsigned int | nbytes |
| 177 | bytes = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(nbytes, POLY1305_BLOCK_SIZE - bytes used in partial buffer ) |
| 178 | No 3D Now!( partial buffer + bytes used in partial buffer , src, bytes) |
| 183 | If bytes used in partial buffer == POLY1305_BLOCK_SIZE Then |
| 184 | poly1305_core_blocks( & accumulator , key , partial buffer , 1, 1) |
| 185 | bytes used in partial buffer = 0 |
| 189 | If Value is more likely to compile time(nbytes >= POLY1305_BLOCK_SIZE) Then |
| 190 | poly1305_core_blocks( & accumulator , key , src, nbytes / POLY1305_BLOCK_SIZE, 1) |
| 192 | src += nbytes - nbytes % POLY1305_BLOCK_SIZE |
| 193 | nbytes %= POLY1305_BLOCK_SIZE |
| 198 | No 3D Now!( partial buffer , src, nbytes) |
| 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 |