Searched refs:CAST5_PARALLEL_BLOCKS (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | cast5_avx_glue.c | 19 #define CAST5_PARALLEL_BLOCKS 16 macro 36 ECB_WALK_START(req, CAST5_BLOCK_SIZE, CAST5_PARALLEL_BLOCKS); in ecb_encrypt() 37 ECB_BLOCK(CAST5_PARALLEL_BLOCKS, cast5_ecb_enc_16way); in ecb_encrypt() 44 ECB_WALK_START(req, CAST5_BLOCK_SIZE, CAST5_PARALLEL_BLOCKS); in ecb_decrypt() 45 ECB_BLOCK(CAST5_PARALLEL_BLOCKS, cast5_ecb_dec_16way); in ecb_decrypt() 59 CBC_WALK_START(req, CAST5_BLOCK_SIZE, CAST5_PARALLEL_BLOCKS); in cbc_decrypt() 60 CBC_DEC_BLOCK(CAST5_PARALLEL_BLOCKS, cast5_cbc_dec_16way); in cbc_decrypt()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | cast5_avx_glue.c | 18 #define CAST5_PARALLEL_BLOCKS 16 macro 38 return glue_fpu_begin(CAST5_BLOCK_SIZE, CAST5_PARALLEL_BLOCKS, in cast5_fpu_begin() 67 if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) { in ecb_crypt() 72 wsrc += bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 73 wdst += bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 74 nbytes -= bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 75 } while (nbytes >= bsize * CAST5_PARALLEL_BLOCKS); in ecb_crypt() 158 if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) { in __cbc_decrypt() 160 nbytes -= bsize * (CAST5_PARALLEL_BLOCKS - 1); in __cbc_decrypt() 161 src -= CAST5_PARALLEL_BLOCKS in __cbc_decrypt() [all...] |
Completed in 1 milliseconds