Searched refs:ctrptr (Results 1 – 1 of 1) sorted by relevance
| /linux/arch/s390/crypto/ |
| H A D | des_s390.c | 303 static unsigned int __ctrblk_init(u8 *ctrptr, u8 *iv, unsigned int nbytes) in __ctrblk_init() argument 309 memcpy(ctrptr, iv, DES_BLOCK_SIZE); in __ctrblk_init() 311 memcpy(ctrptr + DES_BLOCK_SIZE, ctrptr, DES_BLOCK_SIZE); in __ctrblk_init() 312 crypto_inc(ctrptr + DES_BLOCK_SIZE, DES_BLOCK_SIZE); in __ctrblk_init() 313 ctrptr += DES_BLOCK_SIZE; in __ctrblk_init() 322 u8 buf[DES_BLOCK_SIZE], *ctrptr; in ctr_desall_crypt() local 334 ctrptr = (n > DES_BLOCK_SIZE) ? ctrblk : walk.iv; in ctr_desall_crypt() 336 walk.src.virt.addr, n, ctrptr); in ctr_desall_crypt() 337 if (ctrptr == ctrblk) in ctr_desall_crypt() 338 memcpy(walk.iv, ctrptr + n - DES_BLOCK_SIZE, in ctr_desall_crypt()
|