Home
last modified time | relevance | path

Searched refs:CAMELLIA_BLOCK_SIZE (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/x86/crypto/
H A Dcamellia_aesni_avx_glue.c38 ECB_WALK_START(req, CAMELLIA_BLOCK_SIZE, CAMELLIA_AESNI_PARALLEL_BLOCKS); in ecb_encrypt()
47 ECB_WALK_START(req, CAMELLIA_BLOCK_SIZE, CAMELLIA_AESNI_PARALLEL_BLOCKS); in ecb_decrypt()
56 CBC_WALK_START(req, CAMELLIA_BLOCK_SIZE, -1); in cbc_encrypt()
63 CBC_WALK_START(req, CAMELLIA_BLOCK_SIZE, CAMELLIA_AESNI_PARALLEL_BLOCKS); in cbc_decrypt()
76 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
89 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
94 .ivsize = CAMELLIA_BLOCK_SIZE,
H A Dcamellia_aesni_avx2_glue.c35 ECB_WALK_START(req, CAMELLIA_BLOCK_SIZE, CAMELLIA_AESNI_PARALLEL_BLOCKS); in ecb_encrypt()
45 ECB_WALK_START(req, CAMELLIA_BLOCK_SIZE, CAMELLIA_AESNI_PARALLEL_BLOCKS); in ecb_decrypt()
55 CBC_WALK_START(req, CAMELLIA_BLOCK_SIZE, -1); in cbc_encrypt()
62 CBC_WALK_START(req, CAMELLIA_BLOCK_SIZE, CAMELLIA_AESNI_PARALLEL_BLOCKS); in cbc_decrypt()
76 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
89 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
94 .ivsize = CAMELLIA_BLOCK_SIZE,
H A Dcamellia_glue.c1268 u8 buf[CAMELLIA_BLOCK_SIZE]; in camellia_decrypt_cbc_2way()
1274 crypto_xor(dst + CAMELLIA_BLOCK_SIZE, iv, CAMELLIA_BLOCK_SIZE); in camellia_decrypt_cbc_2way()
1280 ECB_WALK_START(req, CAMELLIA_BLOCK_SIZE, -1); in ecb_encrypt()
1288 ECB_WALK_START(req, CAMELLIA_BLOCK_SIZE, -1); in ecb_decrypt()
1296 CBC_WALK_START(req, CAMELLIA_BLOCK_SIZE, -1); in cbc_encrypt()
1303 CBC_WALK_START(req, CAMELLIA_BLOCK_SIZE, -1); in cbc_decrypt()
1314 .cra_blocksize = CAMELLIA_BLOCK_SIZE,
1334 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
1346 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
1351 .ivsize = CAMELLIA_BLOCK_SIZE,
H A Dcamellia.h11 #define CAMELLIA_BLOCK_SIZE 16 macro
/openbmc/linux/arch/sparc/crypto/
H A Dcamellia_glue.c25 #define CAMELLIA_BLOCK_SIZE 16 macro
113 round_down(nbytes, CAMELLIA_BLOCK_SIZE), key); in __ecb_crypt()
114 err = skcipher_walk_done(&walk, nbytes % CAMELLIA_BLOCK_SIZE); in __ecb_crypt()
160 round_down(nbytes, CAMELLIA_BLOCK_SIZE), key, walk.iv); in cbc_encrypt()
161 err = skcipher_walk_done(&walk, nbytes % CAMELLIA_BLOCK_SIZE); in cbc_encrypt()
189 round_down(nbytes, CAMELLIA_BLOCK_SIZE), key, walk.iv); in cbc_decrypt()
190 err = skcipher_walk_done(&walk, nbytes % CAMELLIA_BLOCK_SIZE); in cbc_decrypt()
201 .cra_blocksize = CAMELLIA_BLOCK_SIZE,
221 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
234 .base.cra_blocksize = CAMELLIA_BLOCK_SIZE,
[all …]
/openbmc/linux/crypto/
H A Dcamellia_generic.c291 #define CAMELLIA_BLOCK_SIZE 16 macro
1043 .cra_blocksize = CAMELLIA_BLOCK_SIZE,