Home
last modified time | relevance | path

Searched refs:SM3_BLOCK_SIZE (Results 1 – 7 of 7) sorted by relevance

/linux/include/crypto/
A Dsm3_base.h44 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()
A Dsm3.h11 #define SM3_BLOCK_SIZE 64 macro
30 u8 buffer[SM3_BLOCK_SIZE];
/linux/crypto/
A Dsm3_generic.c141 src += SM3_BLOCK_SIZE; in sm3_generic_block_fn()
177 .cra_blocksize = SM3_BLOCK_SIZE,
/linux/arch/arm64/crypto/
A Dsm3-ce-glue.c73 .base.cra_blocksize = SM3_BLOCK_SIZE,
/linux/drivers/crypto/inside-secure/
A Dsafexcel_hash.c2284 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,
/linux/drivers/crypto/keembay/
A Dkeembay-ocs-hcu-core.c1005 .cra_blocksize = SM3_BLOCK_SIZE,
1030 .cra_blocksize = SM3_BLOCK_SIZE,
/linux/drivers/crypto/ccree/
A Dcc_hash.c1747 .blocksize = SM3_BLOCK_SIZE,

Completed in 15 milliseconds