Searched refs:SM3_BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance
43 unsigned int partial = sctx->count % SM3_BLOCK_SIZE; in sm3_base_do_update()47 if (unlikely((partial + len) >= SM3_BLOCK_SIZE)) { in sm3_base_do_update()51 int p = SM3_BLOCK_SIZE - partial; in sm3_base_do_update()60 blocks = len / SM3_BLOCK_SIZE; in sm3_base_do_update()61 len %= SM3_BLOCK_SIZE; in sm3_base_do_update()65 data += blocks * SM3_BLOCK_SIZE; in sm3_base_do_update()78 const int bit_offset = SM3_BLOCK_SIZE - sizeof(__be64); in sm3_base_do_finalize()81 unsigned int partial = sctx->count % SM3_BLOCK_SIZE; in sm3_base_do_finalize()85 memset(sctx->buffer + partial, 0x0, SM3_BLOCK_SIZE - partial); in sm3_base_do_finalize()
11 #define SM3_BLOCK_SIZE 64 macro30 u8 buffer[SM3_BLOCK_SIZE];
141 src += SM3_BLOCK_SIZE; in sm3_generic_block_fn()176 .cra_blocksize = SM3_BLOCK_SIZE,
73 .base.cra_blocksize = SM3_BLOCK_SIZE,
1748 .blocksize = SM3_BLOCK_SIZE,