Function report |
Source Code:lib\crypto\blake2s.c |
Create Date:2022-07-28 06:44:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blake2s_update
Proto:void blake2s_update(struct blake2s_state *state, const u8 *in, size_t inlen)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct blake2s_state * | state | |
| const u8 * | in | |
| size_t | inlen |
| 24 | fill = BLAKE2S_BLOCK_SIZE - buflen |
| 26 | If Value for the false possibility is greater at compile time(!inlen) Then Return |
| 29 | No 3D Now!(buf + buflen, in, fill) |
| 30 | If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_CRYPTO_ARCH_HAVE_LIB_BLAKE2S) Then blake2s_compress_arch(state, buf, 1, BLAKE2S_BLOCK_SIZE) |
| 33 | Else blake2s_compress_generic(state, buf, 1, BLAKE2S_BLOCK_SIZE) |
| 36 | buflen = 0 |
| 40 | If inlen > BLAKE2S_BLOCK_SIZE Then |
| 46 | Else blake2s_compress_generic(state, in, nblocks - 1, BLAKE2S_BLOCK_SIZE) |
| 49 | in += BLAKE2S_BLOCK_SIZE * (nblocks - 1) |
| 50 | inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1) |
| 52 | No 3D Now!(buf + buflen, in, inlen) |
| Name | Describe |
|---|---|
| blake2s256_hmac | |
| blake2s_selftest |
| 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 |