Home
last modified time | relevance | path

Searched defs:areq (Results 1 – 25 of 58) sorted by relevance

123

/drivers/crypto/inside-secure/
Dsafexcel_hash.c232 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_req_result() local
314 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_req() local
523 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_inv_result() local
571 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_result() local
592 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_inv() local
610 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send() local
664 static int safexcel_ahash_cache(struct ahash_request *areq) in safexcel_ahash_cache()
689 static int safexcel_ahash_enqueue(struct ahash_request *areq) in safexcel_ahash_enqueue()
742 static int safexcel_ahash_update(struct ahash_request *areq) in safexcel_ahash_update()
767 static int safexcel_ahash_final(struct ahash_request *areq) in safexcel_ahash_final()
[all …]
/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c15 static int noinline_for_stack sun4i_ss_opti_poll(struct skcipher_request *areq) in sun4i_ss_opti_poll()
148 static int noinline_for_stack sun4i_ss_cipher_poll_fallback(struct skcipher_request *areq) in sun4i_ss_cipher_poll_fallback()
176 static int sun4i_ss_cipher_poll(struct skcipher_request *areq) in sun4i_ss_cipher_poll()
397 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_encrypt()
408 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_decrypt()
420 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_encrypt()
431 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_decrypt()
443 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_encrypt()
454 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_decrypt()
466 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_des_encrypt()
[all …]
Dsun4i-ss-hash.c47 int sun4i_hash_init(struct ahash_request *areq) in sun4i_hash_init()
62 int sun4i_hash_export_md5(struct ahash_request *areq, void *out) in sun4i_hash_export_md5()
85 int sun4i_hash_import_md5(struct ahash_request *areq, const void *in) in sun4i_hash_import_md5()
104 int sun4i_hash_export_sha1(struct ahash_request *areq, void *out) in sun4i_hash_export_sha1()
128 int sun4i_hash_import_sha1(struct ahash_request *areq, const void *in) in sun4i_hash_import_sha1()
177 static int sun4i_hash(struct ahash_request *areq) in sun4i_hash()
508 int sun4i_hash_final(struct ahash_request *areq) in sun4i_hash_final()
516 int sun4i_hash_update(struct ahash_request *areq) in sun4i_hash_update()
525 int sun4i_hash_finup(struct ahash_request *areq) in sun4i_hash_finup()
534 int sun4i_hash_digest(struct ahash_request *areq) in sun4i_hash_digest()
/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c72 int sun8i_ce_hash_init(struct ahash_request *areq) in sun8i_ce_hash_init()
86 int sun8i_ce_hash_export(struct ahash_request *areq, void *out) in sun8i_ce_hash_export()
98 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in) in sun8i_ce_hash_import()
110 int sun8i_ce_hash_final(struct ahash_request *areq) in sun8i_ce_hash_final()
135 int sun8i_ce_hash_update(struct ahash_request *areq) in sun8i_ce_hash_update()
150 int sun8i_ce_hash_finup(struct ahash_request *areq) in sun8i_ce_hash_finup()
178 static int sun8i_ce_hash_digest_fb(struct ahash_request *areq) in sun8i_ce_hash_digest_fb()
206 static bool sun8i_ce_hash_need_fallback(struct ahash_request *areq) in sun8i_ce_hash_need_fallback()
239 int sun8i_ce_hash_digest(struct ahash_request *areq) in sun8i_ce_hash_digest()
332 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ce_hash_run() local
Dsun8i-ce-cipher.c24 static int sun8i_ce_cipher_need_fallback(struct skcipher_request *areq) in sun8i_ce_cipher_need_fallback()
89 static int sun8i_ce_cipher_fallback(struct skcipher_request *areq) in sun8i_ce_cipher_fallback()
122 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_prepare() local
305 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_unprepare() local
347 static void sun8i_ce_cipher_run(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_run()
364 int sun8i_ce_cipher_do_one(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_do_one()
375 int sun8i_ce_skdecrypt(struct skcipher_request *areq) in sun8i_ce_skdecrypt()
394 int sun8i_ce_skencrypt(struct skcipher_request *areq) in sun8i_ce_skencrypt()
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c161 int sun8i_ss_hash_init(struct ahash_request *areq) in sun8i_ss_hash_init()
175 int sun8i_ss_hash_export(struct ahash_request *areq, void *out) in sun8i_ss_hash_export()
187 int sun8i_ss_hash_import(struct ahash_request *areq, const void *in) in sun8i_ss_hash_import()
199 int sun8i_ss_hash_final(struct ahash_request *areq) in sun8i_ss_hash_final()
225 int sun8i_ss_hash_update(struct ahash_request *areq) in sun8i_ss_hash_update()
240 int sun8i_ss_hash_finup(struct ahash_request *areq) in sun8i_ss_hash_finup()
269 static int sun8i_ss_hash_digest_fb(struct ahash_request *areq) in sun8i_ss_hash_digest_fb()
357 static bool sun8i_ss_hash_need_fallback(struct ahash_request *areq) in sun8i_ss_hash_need_fallback()
406 int sun8i_ss_hash_digest(struct ahash_request *areq) in sun8i_ss_hash_digest()
492 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ss_hash_run() local
Dsun8i-ss-cipher.c23 static bool sun8i_ss_need_fallback(struct skcipher_request *areq) in sun8i_ss_need_fallback()
89 static int sun8i_ss_cipher_fallback(struct skcipher_request *areq) in sun8i_ss_cipher_fallback()
120 static int sun8i_ss_setup_ivs(struct skcipher_request *areq) in sun8i_ss_setup_ivs()
183 static int sun8i_ss_cipher(struct skcipher_request *areq) in sun8i_ss_cipher()
332 int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq) in sun8i_ss_handle_cipher_request()
345 int sun8i_ss_skdecrypt(struct skcipher_request *areq) in sun8i_ss_skdecrypt()
366 int sun8i_ss_skencrypt(struct skcipher_request *areq) in sun8i_ss_skencrypt()
/drivers/crypto/gemini/
Dsl3516-ce-cipher.c25 static bool sl3516_ce_need_fallback(struct skcipher_request *areq) in sl3516_ce_need_fallback()
103 static int sl3516_ce_cipher_fallback(struct skcipher_request *areq) in sl3516_ce_cipher_fallback()
127 static int sl3516_ce_cipher(struct skcipher_request *areq) in sl3516_ce_cipher()
265 int sl3516_ce_handle_cipher_request(struct crypto_engine *engine, void *areq) in sl3516_ce_handle_cipher_request()
278 int sl3516_ce_skdecrypt(struct skcipher_request *areq) in sl3516_ce_skdecrypt()
296 int sl3516_ce_skencrypt(struct skcipher_request *areq) in sl3516_ce_skencrypt()
/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c25 static bool meson_cipher_need_fallback(struct skcipher_request *areq) in meson_cipher_need_fallback()
58 static int meson_cipher_do_fallback(struct skcipher_request *areq) in meson_cipher_do_fallback()
84 static int meson_cipher(struct skcipher_request *areq) in meson_cipher()
261 int meson_handle_cipher_request(struct crypto_engine *engine, void *areq) in meson_handle_cipher_request()
274 int meson_skdecrypt(struct skcipher_request *areq) in meson_skdecrypt()
292 int meson_skencrypt(struct skcipher_request *areq) in meson_skencrypt()
/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c192 struct aead_request *areq = arg; in nitrox_aead_callback() local
213 static int nitrox_aes_gcm_enc(struct aead_request *areq) in nitrox_aes_gcm_enc()
247 static int nitrox_aes_gcm_dec(struct aead_request *areq) in nitrox_aes_gcm_dec()
393 static int nitrox_rfc4106_set_aead_rctx_sglist(struct aead_request *areq) in nitrox_rfc4106_set_aead_rctx_sglist()
426 struct aead_request *areq = arg; in nitrox_rfc4106_callback() local
440 static int nitrox_rfc4106_enc(struct aead_request *areq) in nitrox_rfc4106_enc()
472 static int nitrox_rfc4106_dec(struct aead_request *areq) in nitrox_rfc4106_dec()
/drivers/crypto/
Dtalitos.c989 struct aead_request *areq, bool encrypt) in ipsec_esp_unmap()
1026 struct aead_request *areq = context; in ipsec_esp_encrypt_done() local
1193 static int ipsec_esp(struct talitos_edesc *edesc, struct aead_request *areq, in ipsec_esp()
1417 static struct talitos_edesc *aead_edesc_alloc(struct aead_request *areq, u8 *iv, in aead_edesc_alloc()
1534 struct skcipher_request *areq) in common_nonsnoop_unmap()
1550 struct skcipher_request *areq = context; in skcipher_done() local
1567 struct skcipher_request *areq, in common_nonsnoop()
1639 static struct talitos_edesc *skcipher_edesc_alloc(struct skcipher_request * in skcipher_edesc_alloc()
1651 static int skcipher_encrypt(struct skcipher_request *areq) in skcipher_encrypt()
1676 static int skcipher_decrypt(struct skcipher_request *areq) in skcipher_decrypt()
[all …]
Datmel-i2c.c270 void *areq, int status), in atmel_i2c_enqueue()
Datmel-sha204a.c22 void *areq, int status) in atmel_sha204a_rng_done()
/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c44 static int rk_ahash_digest_fb(struct ahash_request *areq) in rk_ahash_digest_fb()
235 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in rk_hash_prepare() local
251 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in rk_hash_unprepare() local
260 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in rk_hash_run() local
Drk3288_crypto_skcipher.c68 static int rk_cipher_fallback(struct skcipher_request *areq) in rk_cipher_fallback()
301 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in rk_cipher_run() local
/drivers/crypto/intel/qat/qat_common/
Dqat_comp_algs.c80 struct acomp_req *areq = qat_req->acompress_req; in qat_comp_resubmit() local
140 struct acomp_req *areq = qat_req->acompress_req; in qat_comp_rfc1950_callback() local
178 struct acomp_req *areq = qat_req->acompress_req; in qat_comp_generic_callback() local
308 static int qat_comp_alg_compress_decompress(struct acomp_req *areq, enum direction dir, in qat_comp_alg_compress_decompress()
Dqat_asym_algs.c136 } areq; member
159 struct kpp_request *areq = req->areq.dh; in qat_dh_cb() local
516 struct akcipher_request *areq = req->areq.rsa; in qat_rsa_cb() local
550 struct qat_asym_request *areq = (void *)(__force long)resp->opaque; in qat_alg_asym_callback() local
/drivers/crypto/bcm/
Dcipher.c302 struct crypto_async_request *areq = rctx->parent; in handle_skcipher_req() local
473 struct crypto_async_request *areq = rctx->parent; in handle_skcipher_resp() local
655 struct crypto_async_request *areq = rctx->parent; in handle_ahash_req() local
946 struct crypto_async_request *areq = rctx->parent; in ahash_req_done() local
996 struct crypto_async_request *areq = rctx->parent; in handle_ahash_resp() local
1261 struct crypto_async_request *areq = rctx->parent; in handle_aead_req() local
1531 struct crypto_async_request *areq = rctx->parent; in handle_aead_resp() local
1608 struct crypto_async_request *areq = rctx->parent; in finish_req() local
/drivers/crypto/aspeed/
Daspeed-hace-crypto.c27 static int aspeed_crypto_do_fallback(struct skcipher_request *areq) in aspeed_crypto_do_fallback()
48 static bool aspeed_crypto_need_fallback(struct skcipher_request *areq) in aspeed_crypto_need_fallback()
79 static int aspeed_crypto_do_request(struct crypto_engine *engine, void *areq) in aspeed_crypto_do_request()
Daspeed-hace-hash.c533 static int aspeed_ahash_do_request(struct crypto_engine *engine, void *areq) in aspeed_ahash_do_request()
558 void *areq) in aspeed_ahash_prepare_request()
575 static int aspeed_ahash_do_one(struct crypto_engine *engine, void *areq) in aspeed_ahash_do_one()
/drivers/crypto/starfive/
Djh7110-aes.c462 struct aead_request *areq) in starfive_aes_prepare_req()
517 static int starfive_aes_do_one_req(struct crypto_engine *engine, void *areq) in starfive_aes_do_one_req()
565 static int starfive_aes_aead_do_one_req(struct crypto_engine *engine, void *areq) in starfive_aes_aead_do_one_req()
/drivers/crypto/caam/
Dcaamalg_qi2.c135 static struct caam_request *to_caam_req(struct crypto_async_request *areq) in to_caam_req()
1286 struct crypto_async_request *areq = cbk_ctx; in aead_encrypt_done() local
1307 struct crypto_async_request *areq = cbk_ctx; in aead_decrypt_done() local
1394 struct crypto_async_request *areq = cbk_ctx; in skcipher_encrypt_done() local
1432 struct crypto_async_request *areq = cbk_ctx; in skcipher_decrypt_done() local
3401 struct crypto_async_request *areq = cbk_ctx; in ahash_done() local
3428 struct crypto_async_request *areq = cbk_ctx; in ahash_done_bi() local
3466 struct crypto_async_request *areq = cbk_ctx; in ahash_done_ctx_src() local
3493 struct crypto_async_request *areq = cbk_ctx; in ahash_done_ctx_dst() local
Djr.c428 u32 status, void *areq), in caam_jr_enqueue()
/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_reqmgr.h79 struct crypto_async_request *areq; /* Async request callback arg */ member
119 struct crypto_async_request *areq; /* Async request callback arg */ member
/drivers/crypto/ccree/
Dcc_aead.c210 struct aead_request *areq = (struct aead_request *)cc_req; in cc_aead_complete() local
721 static void cc_set_assoc_desc(struct aead_request *areq, unsigned int flow_mode, in cc_set_assoc_desc()
760 static void cc_proc_authen_desc(struct aead_request *areq, in cc_proc_authen_desc()
824 static void cc_proc_cipher_desc(struct aead_request *areq, in cc_proc_cipher_desc()

123