Home
last modified time | relevance | path

Searched refs:scatterwalk_map_and_copy (Results 1 – 14 of 14) sorted by relevance

/crypto/
Dauthencesn.c112 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail()
113 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
114 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail()
116 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
149 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv()
150 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv()
151 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
251 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_decrypt_tail()
252 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_decrypt_tail()
253 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_decrypt_tail()
[all …]
Dcts.c117 scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0); in cts_cbc_encrypt()
120 scatterwalk_map_and_copy(d, req->src, offset, lastn, 0); in cts_cbc_encrypt()
122 scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1); in cts_cbc_encrypt()
201 scatterwalk_map_and_copy(d + bsize, sg, 0, bsize, 0); in cts_cbc_decrypt()
206 scatterwalk_map_and_copy(d, req->src, offset, lastn, 0); in cts_cbc_decrypt()
215 scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1); in cts_cbc_decrypt()
277 scatterwalk_map_and_copy(space, req->src, offset - 2 * bsize, in crypto_cts_decrypt()
Dxts.c155 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in cts_done()
157 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in cts_done()
177 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in cts_final()
179 scatterwalk_map_and_copy(b, req->src, offset, tail, 0); in cts_final()
183 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1); in cts_final()
194 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in cts_final()
196 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in cts_final()
Dscatterwalk.c55 void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg, in scatterwalk_map_and_copy() function
70 EXPORT_SYMBOL_GPL(scatterwalk_map_and_copy);
Dechainiv.c69 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in echainiv_encrypt()
107 scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); in echainiv_decrypt()
Dseqiv.c103 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in seqiv_aead_encrypt()
133 scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); in seqiv_aead_decrypt()
Dscompress.c141 scatterwalk_map_and_copy(scratch->src, req->src, 0, req->slen, 0); in scomp_acomp_comp_decomp()
156 scatterwalk_map_and_copy(scratch->dst, req->dst, 0, req->dlen, in scomp_acomp_comp_decomp()
Dauthenc.c134 scatterwalk_map_and_copy(ahreq->result, req->dst, in authenc_geniv_ahash_done()
167 scatterwalk_map_and_copy(hash, req->dst, req->assoclen + req->cryptlen, in crypto_authenc_genicv()
254 scatterwalk_map_and_copy(ihash, req->src, ahreq->nbytes, authsize, 0); in crypto_authenc_decrypt_tail()
Daegis128-core.c427 scatterwalk_map_and_copy(tag.bytes, req->dst, req->assoclen + cryptlen, in crypto_aegis128_encrypt()
445 scatterwalk_map_and_copy(tag.bytes, req->src, req->assoclen + cryptlen, in crypto_aegis128_decrypt()
Dccm.c243 scatterwalk_map_and_copy(odata, req->dst, in crypto_ccm_encrypt_done()
326 scatterwalk_map_and_copy(odata, sg_next(dst), cryptlen, in crypto_ccm_encrypt()
373 scatterwalk_map_and_copy(authtag, sg_next(pctx->src), cryptlen, in crypto_ccm_decrypt()
659 scatterwalk_map_and_copy(iv + 16, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4309_crypt()
Dessiv.c214 scatterwalk_map_and_copy(req->iv, req->dst, in essiv_aead_crypt()
243 scatterwalk_map_and_copy(rctx->assoc, req->src, 0, in essiv_aead_crypt()
Dadiantum.c314 scatterwalk_map_and_copy(&rctx->rbuf.bignum, req->dst, in adiantum_finish()
355 scatterwalk_map_and_copy(&rctx->rbuf.bignum, req->src, in adiantum_crypt()
Dchacha20poly1305.c102 scatterwalk_map_and_copy(tag, req->src, in poly_verify_tag()
114 scatterwalk_map_and_copy(rctx->tag, req->dst, in poly_copy_tag()
Dgcm.c424 scatterwalk_map_and_copy(auth_tag, req->dst, in gcm_enc_copy_hash()
481 scatterwalk_map_and_copy(iauth_tag, req->src, in crypto_gcm_verify()
772 scatterwalk_map_and_copy(iv + GCM_AES_IV_SIZE, req->src, 0, req->assoclen - 8, 0); in crypto_rfc4106_crypt()