Home
last modified time | relevance | path

Searched refs:ctrblocks (Results 1 – 4 of 4) sorted by relevance

/arch/x86/crypto/
Dblowfish_glue.c292 __be64 ctrblocks[4]; in __ctr_crypt() local
305 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt()
306 ctrblocks[1] = cpu_to_be64(ctrblk++); in __ctr_crypt()
307 ctrblocks[2] = cpu_to_be64(ctrblk++); in __ctr_crypt()
308 ctrblocks[3] = cpu_to_be64(ctrblk++); in __ctr_crypt()
311 (u8 *)ctrblocks); in __ctr_crypt()
326 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt()
328 blowfish_enc_blk_xor(ctx, (u8 *)dst, (u8 *)ctrblocks); in __ctr_crypt()
Dtwofish_glue_3way.c294 be128 ctrblocks[3]; in __ctr_crypt() local
308 u128_to_be128(&ctrblocks[0], &ctrblk); in __ctr_crypt()
310 u128_to_be128(&ctrblocks[1], &ctrblk); in __ctr_crypt()
312 u128_to_be128(&ctrblocks[2], &ctrblk); in __ctr_crypt()
316 (u8 *)ctrblocks); in __ctr_crypt()
332 u128_to_be128(&ctrblocks[0], &ctrblk); in __ctr_crypt()
335 twofish_enc_blk(ctx, (u8 *)ctrblocks, (u8 *)ctrblocks); in __ctr_crypt()
336 u128_xor(dst, dst, (u128 *)ctrblocks); in __ctr_crypt()
Dserpent_sse2_glue.c321 be128 ctrblocks[SERPENT_PARALLEL_BLOCKS]; in __ctr_crypt() local
334 u128_to_be128(&ctrblocks[i], &ctrblk); in __ctr_crypt()
339 (u8 *)ctrblocks); in __ctr_crypt()
355 u128_to_be128(&ctrblocks[0], &ctrblk); in __ctr_crypt()
358 __serpent_encrypt(ctx, (u8 *)ctrblocks, (u8 *)ctrblocks); in __ctr_crypt()
359 u128_xor(dst, dst, (u128 *)ctrblocks); in __ctr_crypt()
Dcamellia_glue.c1546 be128 ctrblocks[2]; in __ctr_crypt() local
1559 u128_to_be128(&ctrblocks[0], &ctrblk); in __ctr_crypt()
1561 u128_to_be128(&ctrblocks[1], &ctrblk); in __ctr_crypt()
1565 (u8 *)ctrblocks); in __ctr_crypt()
1581 u128_to_be128(&ctrblocks[0], &ctrblk); in __ctr_crypt()
1584 camellia_enc_blk_xor(ctx, (u8 *)dst, (u8 *)ctrblocks); in __ctr_crypt()