Searched refs:BLAKE2B_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/crypto/internal/ |
H A D | blake2b.h | 29 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()
|
/openbmc/linux/include/crypto/ |
H A D | blake2b.h | 11 BLAKE2B_BLOCK_SIZE = 128, enumerator 26 u8 buf[BLAKE2B_BLOCK_SIZE]; 61 memset(&state->buf[keylen], 0, BLAKE2B_BLOCK_SIZE - keylen); in __blake2b_init() 62 state->buflen = BLAKE2B_BLOCK_SIZE; in __blake2b_init()
|
/openbmc/linux/arch/arm/crypto/ |
H A D | blake2b-neon-glue.c | 31 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, \
|
/openbmc/linux/crypto/ |
H A D | blake2b_generic.c | 71 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, \
|