Searched refs:skreq (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c51 static void free_src_sglist(struct skcipher_request *skreq) argument
53 struct nitrox_kcrypt_request *nkreq = skcipher_request_ctx(skreq);
58 static void free_dst_sglist(struct skcipher_request *skreq) argument
60 struct nitrox_kcrypt_request *nkreq = skcipher_request_ctx(skreq);
67 struct skcipher_request *skreq = arg; local
69 free_src_sglist(skreq);
70 free_dst_sglist(skreq);
76 skcipher_request_complete(skreq, err);
81 struct skcipher_request *skreq = arg; local
82 struct nitrox_kcrypt_request *nkreq = skcipher_request_ctx(skreq);
208 alloc_src_sglist(struct skcipher_request *skreq, int ivsize) argument
226 alloc_dst_sglist(struct skcipher_request *skreq, int ivsize) argument
247 nitrox_skcipher_crypt(struct skcipher_request *skreq, bool enc) argument
290 nitrox_cbc_decrypt(struct skcipher_request *skreq) argument
310 nitrox_aes_encrypt(struct skcipher_request *skreq) argument
315 nitrox_aes_decrypt(struct skcipher_request *skreq) argument
327 nitrox_3des_encrypt(struct skcipher_request *skreq) argument
332 nitrox_3des_decrypt(struct skcipher_request *skreq) argument
[all...]
/linux-master/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c424 struct skcipher_request *skreq = container_of(req_base, local
427 struct sec_request *sec_req = skcipher_request_ctx(skreq);
431 struct crypto_skcipher *atfm = crypto_skcipher_reqtfm(skreq);
461 skreq->iv,
468 skreq->iv,
477 crypto_inc(skreq->iv, 16);
532 dma_unmap_sg(dev, skreq->src, sec_req->len_in,
534 if (skreq->src != skreq->dst)
535 dma_unmap_sg(dev, skreq
707 sec_alg_skcipher_crypto(struct skcipher_request *skreq, bool encrypt) argument
[all...]
/linux-master/crypto/
H A Dauthenc.c177 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null);
179 skcipher_request_set_sync_tfm(skreq, ctx->null);
180 skcipher_request_set_callback(skreq, aead_request_flags(req),
182 skcipher_request_set_crypt(skreq, req->src, req->dst, req->assoclen,
185 return crypto_skcipher_encrypt(skreq);
197 struct skcipher_request *skreq = (void *)(areq_ctx->tail + local
213 skcipher_request_set_tfm(skreq, enc);
214 skcipher_request_set_callback(skreq, aead_request_flags(req),
216 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv);
218 err = crypto_skcipher_encrypt(skreq);
234 struct skcipher_request *skreq = (void *)(areq_ctx->tail + local
[all...]
H A Dauthencesn.c165 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, ctx->null);
167 skcipher_request_set_sync_tfm(skreq, ctx->null);
168 skcipher_request_set_callback(skreq, aead_request_flags(req),
170 skcipher_request_set_crypt(skreq, req->src, req->dst, len, NULL);
172 return crypto_skcipher_encrypt(skreq);
180 struct skcipher_request *skreq = (void *)(areq_ctx->tail + local
201 skcipher_request_set_tfm(skreq, enc);
202 skcipher_request_set_callback(skreq, aead_request_flags(req),
204 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv);
206 err = crypto_skcipher_encrypt(skreq);
220 struct skcipher_request *skreq = (void *)(areq_ctx->tail + local
[all...]
H A Dccm.c49 struct skcipher_request skreq; member in union:crypto_ccm_req_priv_ctx::__anon124
291 struct skcipher_request *skreq = &pctx->skreq; local
310 skcipher_request_set_tfm(skreq, ctx->ctr);
311 skcipher_request_set_callback(skreq, pctx->flags,
313 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv);
314 err = crypto_skcipher_encrypt(skreq);
350 struct skcipher_request *skreq = &pctx->skreq; local
374 skcipher_request_set_tfm(skreq, ct
[all...]
H A Dgcm.c73 struct skcipher_request skreq; member in union:crypto_gcm_req_priv_ctx::__anon130
183 struct skcipher_request *skreq = &pctx->u.skreq; local
188 skcipher_request_set_tfm(skreq, ctx->ctr);
189 skcipher_request_set_crypt(skreq, pctx->src, dst,
452 struct skcipher_request *skreq = &pctx->u.skreq; local
457 skcipher_request_set_callback(skreq, flags, gcm_encrypt_done, req);
459 return crypto_skcipher_encrypt(skreq) ?:
491 struct skcipher_request *skreq local
[all...]
H A Dalgif_aead.c78 SYNC_SKCIPHER_REQUEST_ON_STACK(skreq, null_tfm);
80 skcipher_request_set_sync_tfm(skreq, null_tfm);
81 skcipher_request_set_callback(skreq, CRYPTO_TFM_REQ_MAY_SLEEP,
83 skcipher_request_set_crypt(skreq, src, dst, len, NULL);
85 return crypto_skcipher_encrypt(skreq);
/linux-master/drivers/crypto/marvell/cesa/
H A Dcipher.c145 struct skcipher_request *skreq = skcipher_request_cast(req); local
146 struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(skreq);
150 return mv_cesa_skcipher_std_process(skreq, status);
157 struct skcipher_request *skreq = skcipher_request_cast(req); local
158 struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(skreq);
163 mv_cesa_skcipher_std_step(skreq);
188 struct skcipher_request *skreq = skcipher_request_cast(req); local
189 struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(skreq);
194 mv_cesa_skcipher_dma_prepare(skreq);
196 mv_cesa_skcipher_std_prepare(skreq);
202 struct skcipher_request *skreq = skcipher_request_cast(req); local
210 struct skcipher_request *skreq = skcipher_request_cast(req); local
[all...]

Completed in 166 milliseconds