Home
last modified time | relevance | path

Searched refs:ctrblocks (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/crypto/
H A Ddes3_ede_glue.c279 __be64 ctrblocks[3]; in __ctr_crypt() local
285 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt()
286 ctrblocks[1] = cpu_to_be64(ctrblk++); in __ctr_crypt()
287 ctrblocks[2] = cpu_to_be64(ctrblk++); in __ctr_crypt()
289 des3_ede_enc_blk_3way(ctx, (u8 *)ctrblocks, in __ctr_crypt()
290 (u8 *)ctrblocks); in __ctr_crypt()
292 dst[0] = src[0] ^ ctrblocks[0]; in __ctr_crypt()
293 dst[1] = src[1] ^ ctrblocks[1]; in __ctr_crypt()
294 dst[2] = src[2] ^ ctrblocks[2]; in __ctr_crypt()
306 ctrblocks[ in __ctr_crypt()
[all...]
H A Dblowfish_glue.c271 __be64 ctrblocks[4]; in __ctr_crypt() local
284 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt()
285 ctrblocks[1] = cpu_to_be64(ctrblk++); in __ctr_crypt()
286 ctrblocks[2] = cpu_to_be64(ctrblk++); in __ctr_crypt()
287 ctrblocks[3] = cpu_to_be64(ctrblk++); in __ctr_crypt()
290 (u8 *)ctrblocks); in __ctr_crypt()
305 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt()
307 blowfish_enc_blk_xor(ctx, (u8 *)dst, (u8 *)ctrblocks); in __ctr_crypt()

Completed in 2 milliseconds