Searched refs:SM3_BLOCK_SIZE (Results 1 – 7 of 7) sorted by relevance
44 unsigned int partial = sctx->count % SM3_BLOCK_SIZE; in sm3_base_do_update()48 if (unlikely((partial + len) >= SM3_BLOCK_SIZE)) { in sm3_base_do_update()52 int p = SM3_BLOCK_SIZE - partial; in sm3_base_do_update()61 blocks = len / SM3_BLOCK_SIZE; in sm3_base_do_update()62 len %= SM3_BLOCK_SIZE; in sm3_base_do_update()66 data += blocks * SM3_BLOCK_SIZE; in sm3_base_do_update()79 const int bit_offset = SM3_BLOCK_SIZE - sizeof(__be64); in sm3_base_do_finalize()82 unsigned int partial = sctx->count % SM3_BLOCK_SIZE; in sm3_base_do_finalize()86 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()177 .cra_blocksize = SM3_BLOCK_SIZE,
73 .base.cra_blocksize = SM3_BLOCK_SIZE,
2284 req->block_sz = SM3_BLOCK_SIZE; in safexcel_sm3_init()2320 .cra_blocksize = SM3_BLOCK_SIZE,2347 req->len = SM3_BLOCK_SIZE; in safexcel_hmac_sm3_init()2348 req->processed = SM3_BLOCK_SIZE; in safexcel_hmac_sm3_init()2354 req->block_sz = SM3_BLOCK_SIZE; in safexcel_hmac_sm3_init()2392 .cra_blocksize = SM3_BLOCK_SIZE,
1005 .cra_blocksize = SM3_BLOCK_SIZE,1030 .cra_blocksize = SM3_BLOCK_SIZE,
1747 .blocksize = SM3_BLOCK_SIZE,
Completed in 15 milliseconds