Lines Matching defs:ctrptr
303 static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes)
309 memcpy(ctrptr, iv, DES_BLOCK_SIZE);
311 memcpy(ctrptr + DES_BLOCK_SIZE, ctrptr, DES_BLOCK_SIZE);
312 crypto_inc(ctrptr + DES_BLOCK_SIZE, DES_BLOCK_SIZE);
313 ctrptr += DES_BLOCK_SIZE;
322 u8 buf[DES_BLOCK_SIZE], *ctrptr;
334 ctrptr = (n > DES_BLOCK_SIZE) ? ctrblk : walk.iv;
336 walk.src.virt.addr, n, ctrptr);
337 if (ctrptr == ctrblk)
338 memcpy(walk.iv, ctrptr + n - DES_BLOCK_SIZE,