Lines Matching defs:ctrptr
553 static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes)
558 memcpy(ctrptr, iv, AES_BLOCK_SIZE);
561 memcpy(ctrptr + AES_BLOCK_SIZE, ctrptr, AES_BLOCK_SIZE);
562 crypto_inc(ctrptr + AES_BLOCK_SIZE, AES_BLOCK_SIZE);
563 ctrptr += AES_BLOCK_SIZE;
572 u8 buf[AES_BLOCK_SIZE], *ctrptr;
588 ctrptr = (n > AES_BLOCK_SIZE) ? ctrblk : walk.iv;
590 walk.src.virt.addr, n, ctrptr);
591 if (ctrptr == ctrblk)
592 memcpy(walk.iv, ctrptr + n - AES_BLOCK_SIZE,