Home
last modified time | relevance | path

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

/linux/arch/x86/crypto/
A Dsm4_aesni_avx_glue.c112 src += SM4_BLOCK_SIZE; in sm4_cbc_encrypt()
113 dst += SM4_BLOCK_SIZE; in sm4_cbc_encrypt()
114 nbytes -= SM4_BLOCK_SIZE; in sm4_cbc_encrypt()
152 u8 iv[SM4_BLOCK_SIZE]; in sm4_avx_cbc_decrypt()
161 memcpy(iv, src + SM4_BLOCK_SIZE, SM4_BLOCK_SIZE); in sm4_avx_cbc_decrypt()
166 SM4_BLOCK_SIZE); in sm4_avx_cbc_decrypt()
167 src -= SM4_BLOCK_SIZE; in sm4_avx_cbc_decrypt()
168 dst -= SM4_BLOCK_SIZE; in sm4_avx_cbc_decrypt()
211 src += SM4_BLOCK_SIZE; in sm4_cfb_encrypt()
212 dst += SM4_BLOCK_SIZE; in sm4_cfb_encrypt()
[all …]
A Dsm4_aesni_avx2_glue.c63 .cra_blocksize = SM4_BLOCK_SIZE,
69 .walksize = 16 * SM4_BLOCK_SIZE,
79 .cra_blocksize = SM4_BLOCK_SIZE,
85 .ivsize = SM4_BLOCK_SIZE,
86 .walksize = 16 * SM4_BLOCK_SIZE,
102 .ivsize = SM4_BLOCK_SIZE,
103 .chunksize = SM4_BLOCK_SIZE,
104 .walksize = 16 * SM4_BLOCK_SIZE,
120 .ivsize = SM4_BLOCK_SIZE,
121 .chunksize = SM4_BLOCK_SIZE,
[all …]
/linux/drivers/crypto/ccree/
A Dcc_cipher.c141 if (IS_ALIGNED(size, SM4_BLOCK_SIZE)) in validate_data_size()
1330 .blocksize = SM4_BLOCK_SIZE,
1337 .ivsize = SM4_BLOCK_SIZE,
1347 .blocksize = SM4_BLOCK_SIZE,
1371 .ivsize = SM4_BLOCK_SIZE,
1381 .blocksize = SM4_BLOCK_SIZE,
1388 .ivsize = SM4_BLOCK_SIZE,
1399 .blocksize = SM4_BLOCK_SIZE,
1406 .ivsize = SM4_BLOCK_SIZE,
/linux/drivers/crypto/inside-secure/
A Dsafexcel_cipher.c3149 ctx->blocksz = SM4_BLOCK_SIZE; in safexcel_skcipher_sm4_cbc_cra_init()
3163 .ivsize = SM4_BLOCK_SIZE,
3187 ctx->blocksz = SM4_BLOCK_SIZE; in safexcel_skcipher_sm4_ofb_cra_init()
3201 .ivsize = SM4_BLOCK_SIZE,
3225 ctx->blocksz = SM4_BLOCK_SIZE; in safexcel_skcipher_sm4_cfb_cra_init()
3239 .ivsize = SM4_BLOCK_SIZE,
3277 ctx->blocksz = SM4_BLOCK_SIZE; in safexcel_skcipher_sm4_ctr_cra_init()
3338 ctx->blocksz = SM4_BLOCK_SIZE; in safexcel_aead_sm4cbc_sha1_cra_init()
3351 .ivsize = SM4_BLOCK_SIZE,
3447 ctx->blocksz = SM4_BLOCK_SIZE; in safexcel_aead_sm4cbc_sm3_cra_init()
[all …]
/linux/include/crypto/
A Dsm4.h16 #define SM4_BLOCK_SIZE 16 macro
/linux/crypto/
A Dsm4_generic.c62 .cra_blocksize = SM4_BLOCK_SIZE,
/linux/arch/arm64/crypto/
A Dsm4-ce-glue.c59 .cra_blocksize = SM4_BLOCK_SIZE,

Completed in 17 milliseconds