Searched refs:SM3_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance
51 unsigned int partial = sctx->count % SM3_BLOCK_SIZE; in sm3_base_do_update()55 if (unlikely((partial + len) >= SM3_BLOCK_SIZE)) { in sm3_base_do_update()59 int p = SM3_BLOCK_SIZE - partial; in sm3_base_do_update()68 blocks = len / SM3_BLOCK_SIZE; in sm3_base_do_update()69 len %= SM3_BLOCK_SIZE; in sm3_base_do_update()73 data += blocks * SM3_BLOCK_SIZE; in sm3_base_do_update()86 const int bit_offset = SM3_BLOCK_SIZE - sizeof(__be64); in sm3_base_do_finalize()89 unsigned int partial = sctx->count % SM3_BLOCK_SIZE; in sm3_base_do_finalize()93 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];
152 src += SM3_BLOCK_SIZE; in sm3_generic_block_fn()187 .cra_blocksize = SM3_BLOCK_SIZE,
75 .base.cra_blocksize = SM3_BLOCK_SIZE,