Searched refs:tail (Results 1 – 5 of 5) sorted by relevance
/crypto/ |
D | xts.c | 35 struct scatterlist *tail; member 155 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() 170 int tail = req->cryptlen % XTS_BLOCK_SIZE; in cts_final() local 174 rctx->tail = scatterwalk_ffwd(rctx->sg, req->dst, in cts_final() 177 scatterwalk_map_and_copy(b, rctx->tail, 0, XTS_BLOCK_SIZE, 0); in cts_final() 178 memcpy(b + 1, b, tail); 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() 187 skcipher_request_set_crypt(subreq, rctx->tail, rctx->tail, in cts_final() [all …]
|
D | authencesn.c | 40 char tail[]; member 103 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv_tail() 136 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv() 138 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_genicv() 196 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_encrypt() 236 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_decrypt_tail() 239 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt_tail() 285 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_decrypt() 288 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt() 309 goto tail; in crypto_authenc_esn_decrypt() [all …]
|
D | authenc.c | 37 char tail[]; member 129 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_done() 150 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv() 151 u8 *hash = areq_ctx->tail; in crypto_authenc_genicv() 211 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt() 247 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail() 248 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail() 297 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt() 298 u8 *hash = areq_ctx->tail; in crypto_authenc_decrypt()
|
D | chacha20poly1305.c | 42 } tail; member 179 preq->tail.assoclen = cpu_to_le64(rctx->assoclen); in poly_tail() 180 preq->tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_tail() 181 sg_init_one(preq->src, &preq->tail, sizeof(preq->tail)); in poly_tail() 187 rctx->tag, sizeof(preq->tail)); in poly_tail()
|
D | cryptd.c | 225 unsigned int tail) in cryptd_alloc_instance() argument 231 p = kzalloc(head + sizeof(*inst) + tail, GFP_KERNEL); in cryptd_alloc_instance()
|