SM3_BLOCK_SIZE
.block_size = SM3_BLOCK_SIZE,
#ifdef SM3_BLOCK_SIZE
#if (MAX_BLOCK_SIZE < SM3_BLOCK_SIZE)
#define MAX_BLOCK_SIZE SM3_BLOCK_SIZE
u8 sm3_buffer[SM3_BLOCK_SIZE];
fill = (u16)(SM3_BLOCK_SIZE - left);
while (remain_ilen >= SM3_BLOCK_SIZE) {
data_ptr += SM3_BLOCK_SIZE;
remain_ilen -= SM3_BLOCK_SIZE;
u8 last_padded_block[2 * SM3_BLOCK_SIZE];
block_present = (ctx->sm3_total % SM3_BLOCK_SIZE);
if (block_present > (SM3_BLOCK_SIZE - 1 - sizeof(u64))) {
(2 * SM3_BLOCK_SIZE) - sizeof(u64));
ret = sm3_process(ctx, last_padded_block + SM3_BLOCK_SIZE); EG(ret, err);
SM3_BLOCK_SIZE - sizeof(u64));
ATTRIBUTE_WARN_UNUSED_RET static int sm3_process(sm3_context *ctx, const u8 data[SM3_BLOCK_SIZE])