Searched refs:SM4_BLOCK_SIZE (Results 1 – 7 of 7) sorted by relevance
/linux/arch/x86/crypto/ |
A D | sm4_aesni_avx_glue.c | 112 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 D | sm4_aesni_avx2_glue.c | 63 .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 D | cc_cipher.c | 141 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 D | safexcel_cipher.c | 3149 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 D | sm4.h | 16 #define SM4_BLOCK_SIZE 16 macro
|
/linux/crypto/ |
A D | sm4_generic.c | 62 .cra_blocksize = SM4_BLOCK_SIZE,
|
/linux/arch/arm64/crypto/ |
A D | sm4-ce-glue.c | 59 .cra_blocksize = SM4_BLOCK_SIZE,
|
Completed in 17 milliseconds