Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 4 of 4) sorted by relevance

/crypto/
Dxts.c36 struct scatterlist *tail; member
151 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_done()
153 scatterwalk_map_and_copy(&b, rctx->tail, 0, XTS_BLOCK_SIZE, 1); in xts_cts_done()
167 int tail = req->cryptlen % XTS_BLOCK_SIZE; in xts_cts_final() local
171 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst, in xts_cts_final()
174 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_final()
176 scatterwalk_map_and_copy(b, req->src, offset, tail, 0); in xts_cts_final()
180 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE + tail, 1); in xts_cts_final()
185 skcipher_request_set_crypt(subreq, rctx->tail, rctx->tail, in xts_cts_final()
192 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in xts_cts_final()
[all …]
Dauthencesn.c40 char tail[]; member
93 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv_tail()
126 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv()
128 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_genicv()
186 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_encrypt()
226 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_decrypt_tail()
229 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt_tail()
275 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_decrypt()
278 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt()
299 goto tail; in crypto_authenc_esn_decrypt()
[all …]
Dauthenc.c37 char tail[]; member
119 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_done()
140 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv()
141 u8 *hash = areq_ctx->tail; in crypto_authenc_genicv()
201 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt()
237 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail()
238 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail()
287 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt()
288 u8 *hash = areq_ctx->tail; in crypto_authenc_decrypt()
Dchacha20poly1305.c40 } tail; member
177 preq->tail.assoclen = cpu_to_le64(rctx->assoclen); in poly_tail()
178 preq->tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_tail()
179 sg_init_one(preq->src, &preq->tail, sizeof(preq->tail)); in poly_tail()
185 rctx->tag, sizeof(preq->tail)); in poly_tail()