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

/linux-4.1.27/arch/x86/crypto/
H A Ddes3_ede_glue.c295 __be64 ctrblocks[3]; __ctr_crypt() local
301 ctrblocks[0] = cpu_to_be64(ctrblk++); __ctr_crypt()
302 ctrblocks[1] = cpu_to_be64(ctrblk++); __ctr_crypt()
303 ctrblocks[2] = cpu_to_be64(ctrblk++); __ctr_crypt()
305 des3_ede_enc_blk_3way(ctx, (u8 *)ctrblocks, __ctr_crypt()
306 (u8 *)ctrblocks); __ctr_crypt()
308 dst[0] = src[0] ^ ctrblocks[0]; __ctr_crypt()
309 dst[1] = src[1] ^ ctrblocks[1]; __ctr_crypt()
310 dst[2] = src[2] ^ ctrblocks[2]; __ctr_crypt()
322 ctrblocks[0] = cpu_to_be64(ctrblk++); __ctr_crypt()
324 des3_ede_enc_blk(ctx, (u8 *)ctrblocks, (u8 *)ctrblocks); __ctr_crypt()
326 dst[0] = src[0] ^ ctrblocks[0]; __ctr_crypt()
H A Dblowfish_glue.c289 __be64 ctrblocks[4]; __ctr_crypt() local
302 ctrblocks[0] = cpu_to_be64(ctrblk++); __ctr_crypt()
303 ctrblocks[1] = cpu_to_be64(ctrblk++); __ctr_crypt()
304 ctrblocks[2] = cpu_to_be64(ctrblk++); __ctr_crypt()
305 ctrblocks[3] = cpu_to_be64(ctrblk++); __ctr_crypt()
308 (u8 *)ctrblocks); __ctr_crypt()
323 ctrblocks[0] = cpu_to_be64(ctrblk++); __ctr_crypt()
325 blowfish_enc_blk_xor(ctx, (u8 *)dst, (u8 *)ctrblocks); __ctr_crypt()

Completed in 92 milliseconds