Home
last modified time | relevance | path

Searched refs:BLAKE2B_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux/include/crypto/internal/
A Dblake2b.h29 const size_t fill = BLAKE2B_BLOCK_SIZE - state->buflen; in __blake2b_update()
35 (*compress)(state, state->buf, 1, BLAKE2B_BLOCK_SIZE); in __blake2b_update()
40 if (inlen > BLAKE2B_BLOCK_SIZE) { in __blake2b_update()
41 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2B_BLOCK_SIZE); in __blake2b_update()
43 (*compress)(state, in, nblocks - 1, BLAKE2B_BLOCK_SIZE); in __blake2b_update()
44 in += BLAKE2B_BLOCK_SIZE * (nblocks - 1); in __blake2b_update()
45 inlen -= BLAKE2B_BLOCK_SIZE * (nblocks - 1); in __blake2b_update()
58 BLAKE2B_BLOCK_SIZE - state->buflen); /* Padding */ in __blake2b_final()
/linux/include/crypto/
A Dblake2b.h12 BLAKE2B_BLOCK_SIZE = 128, enumerator
27 u8 buf[BLAKE2B_BLOCK_SIZE];
62 memset(&state->buf[keylen], 0, BLAKE2B_BLOCK_SIZE - keylen); in __blake2b_init()
63 state->buflen = BLAKE2B_BLOCK_SIZE; in __blake2b_init()
/linux/arch/arm/crypto/
A Dblake2b-neon-glue.c31 SZ_4K / BLAKE2B_BLOCK_SIZE); in blake2b_compress_arch()
38 block += blocks * BLAKE2B_BLOCK_SIZE; in blake2b_compress_arch()
59 .base.cra_blocksize = BLAKE2B_BLOCK_SIZE, \
/linux/crypto/
A Dblake2b_generic.c71 const u8 block[BLAKE2B_BLOCK_SIZE]) in blake2b_compress_one_generic() argument
120 block += BLAKE2B_BLOCK_SIZE; in blake2b_compress_generic()
142 .base.cra_blocksize = BLAKE2B_BLOCK_SIZE, \

Completed in 5 milliseconds