Searched refs:bash_block_size (Results 1 – 2 of 2) sorted by relevance
43 ctx->bash_block_size = (u8)((BASH_SLICES_X * BASH_SLICES_Y * sizeof(u64)) - (u8)(2 * digest_size)); in _bash_init()77 left = (u8)(ctx->bash_total % ctx->bash_block_size); in _bash_update()78 fill = (u16)(ctx->bash_block_size - left); in _bash_update()90 while (remain_ilen >= ctx->bash_block_size) { in _bash_update()91 ret = local_memcpy(state, data_ptr, ctx->bash_block_size); EG(ret, err); in _bash_update()93 data_ptr += ctx->bash_block_size; in _bash_update()94 remain_ilen -= ctx->bash_block_size; in _bash_update()118 pos = (u8)(ctx->bash_total % ctx->bash_block_size); in _bash_finalize()120 ret = local_memset(state + pos, 0, (u8)((ctx->bash_block_size) - pos)); EG(ret, err); in _bash_finalize()
148 u8 bash_block_size; member