Lines Matching refs:copy
1461 unsigned int copy, drest = *drestp, nbytes = *nbytesp; in ablkcipher_add() local
1468 copy = min3(drest, size, dst->length); in ablkcipher_add()
1470 size -= copy; in ablkcipher_add()
1471 drest -= copy; in ablkcipher_add()
1472 nbytes -= copy; in ablkcipher_add()
1475 __func__, copy, size, drest, nbytes); in ablkcipher_add()
1491 unsigned int nbytes = req->nbytes, offset, copy, diff; in hifn_cipher_walk() local
1519 copy = slen & ~(HIFN_D_DST_DALIGN - 1); in hifn_cipher_walk()
1549 copy += diff + nbytes; in hifn_cipher_walk()
1560 t->length = copy; in hifn_cipher_walk()
1722 unsigned int srest = *srestp, nbytes = *nbytesp, copy; in ablkcipher_get() local
1730 copy = min3(srest, dst->length, size); in ablkcipher_get()
1733 memcpy(daddr + dst->offset + offset, saddr, copy); in ablkcipher_get()
1736 nbytes -= copy; in ablkcipher_get()
1737 size -= copy; in ablkcipher_get()
1738 srest -= copy; in ablkcipher_get()
1739 saddr += copy; in ablkcipher_get()
1743 __func__, copy, size, srest, nbytes); in ablkcipher_get()