Home
last modified time | relevance | path

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

/crypto/
A 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 …]
A Dauthencesn.c38 char tail[]; member
89 u8 *hash = areq_ctx->tail; in crypto_authenc_esn_genicv_tail()
120 u8 *hash = areq_ctx->tail; in crypto_authenc_esn_genicv()
121 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_genicv()
164 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_encrypt()
201 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_decrypt_tail()
204 u8 *ohash = areq_ctx->tail; in crypto_authenc_esn_decrypt_tail()
248 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_decrypt()
251 u8 *ohash = areq_ctx->tail; in crypto_authenc_esn_decrypt()
268 goto tail; in crypto_authenc_esn_decrypt()
[all …]
A Dkrb5enc.c39 char tail[]; member
146 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in krb5enc_dispatch_encrypt()
188 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in krb5enc_encrypt_ahash_done()
213 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in krb5enc_dispatch_encrypt_hash()
214 u8 *hash = areq_ctx->tail; in krb5enc_dispatch_encrypt_hash()
251 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in krb5enc_verify_hash()
253 u8 *calc_hash = areq_ctx->tail; in krb5enc_verify_hash()
254 u8 *msg_hash = areq_ctx->tail + authsize; in krb5enc_verify_hash()
284 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in krb5enc_dispatch_decrypt_hash()
287 u8 *hash = areq_ctx->tail; in krb5enc_dispatch_decrypt_hash()
[all …]
A Dauthenc.c35 char tail[]; member
117 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_done()
138 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv()
139 u8 *hash = areq_ctx->tail; in crypto_authenc_genicv()
180 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt()
213 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail()
214 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail()
262 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt()
263 u8 *hash = areq_ctx->tail; in crypto_authenc_decrypt()
A Dchacha20poly1305.c145 } tail; in poly_hash() local
184 tail.assoclen = cpu_to_le64(rctx->assoclen); in poly_hash()
185 tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_hash()
186 poly1305_update(&desc, tail.u8, sizeof(tail)); in poly_hash()
187 memzero_explicit(&tail, sizeof(tail)); in poly_hash()

Completed in 11 milliseconds