Lines Matching refs:copy
1463 unsigned int copy, drest = *drestp, nbytes = *nbytesp; in ablkcipher_add() local
1470 copy = min3(drest, size, dst->length); in ablkcipher_add()
1472 size -= copy; in ablkcipher_add()
1473 drest -= copy; in ablkcipher_add()
1474 nbytes -= copy; in ablkcipher_add()
1477 __func__, copy, size, drest, nbytes); in ablkcipher_add()
1493 unsigned int nbytes = req->nbytes, offset, copy, diff; in hifn_cipher_walk() local
1521 copy = slen & ~(HIFN_D_DST_DALIGN - 1); in hifn_cipher_walk()
1551 copy += diff + nbytes; in hifn_cipher_walk()
1562 t->length = copy; in hifn_cipher_walk()
1724 unsigned int srest = *srestp, nbytes = *nbytesp, copy; in ablkcipher_get() local
1732 copy = min3(srest, dst->length, size); in ablkcipher_get()
1735 memcpy(daddr + dst->offset + offset, saddr, copy); in ablkcipher_get()
1738 nbytes -= copy; in ablkcipher_get()
1739 size -= copy; in ablkcipher_get()
1740 srest -= copy; in ablkcipher_get()
1741 saddr += copy; in ablkcipher_get()
1745 __func__, copy, size, srest, nbytes); in ablkcipher_get()