Home
last modified time | relevance | path

Searched defs:areq (Results 1 – 25 of 55) 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.c74 int sun8i_ce_hash_init(struct ahash_request *areq) in sun8i_ce_hash_init()
88 int sun8i_ce_hash_export(struct ahash_request *areq, void *out) in sun8i_ce_hash_export()
100 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in) in sun8i_ce_hash_import()
112 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()
175 static int sun8i_ce_hash_digest_fb(struct ahash_request *areq) in sun8i_ce_hash_digest_fb()
200 static bool sun8i_ce_hash_need_fallback(struct ahash_request *areq) in sun8i_ce_hash_need_fallback()
233 int sun8i_ce_hash_digest(struct ahash_request *areq) in sun8i_ce_hash_digest()
326 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()
117 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_prepare() local
297 static int sun8i_ce_cipher_run(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_run()
316 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_unprepare() local
360 int sun8i_ce_skdecrypt(struct skcipher_request *areq) in sun8i_ce_skdecrypt()
379 int sun8i_ce_skencrypt(struct skcipher_request *areq) in sun8i_ce_skencrypt()
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c164 int sun8i_ss_hash_init(struct ahash_request *areq) in sun8i_ss_hash_init()
178 int sun8i_ss_hash_export(struct ahash_request *areq, void *out) in sun8i_ss_hash_export()
190 int sun8i_ss_hash_import(struct ahash_request *areq, const void *in) in sun8i_ss_hash_import()
202 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()
265 static int sun8i_ss_hash_digest_fb(struct ahash_request *areq) in sun8i_ss_hash_digest_fb()
349 static bool sun8i_ss_hash_need_fallback(struct ahash_request *areq) in sun8i_ss_hash_need_fallback()
398 int sun8i_ss_hash_digest(struct ahash_request *areq) in sun8i_ss_hash_digest()
484 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()
115 static int sun8i_ss_setup_ivs(struct skcipher_request *areq) in sun8i_ss_setup_ivs()
178 static int sun8i_ss_cipher(struct skcipher_request *areq) in sun8i_ss_cipher()
327 static int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq) in sun8i_ss_handle_cipher_request()
340 int sun8i_ss_skdecrypt(struct skcipher_request *areq) in sun8i_ss_skdecrypt()
361 int sun8i_ss_skencrypt(struct skcipher_request *areq) in sun8i_ss_skencrypt()
/drivers/crypto/gemini/
Dsl3516-ce-cipher.c21 static bool sl3516_ce_need_fallback(struct skcipher_request *areq) in sl3516_ce_need_fallback()
99 static int sl3516_ce_cipher_fallback(struct skcipher_request *areq) in sl3516_ce_cipher_fallback()
123 static int sl3516_ce_cipher(struct skcipher_request *areq) in sl3516_ce_cipher()
261 static int sl3516_ce_handle_cipher_request(struct crypto_engine *engine, void *areq) in sl3516_ce_handle_cipher_request()
274 int sl3516_ce_skdecrypt(struct skcipher_request *areq) in sl3516_ce_skdecrypt()
292 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()
262 void *areq) in meson_handle_cipher_request()
275 int meson_skdecrypt(struct skcipher_request *areq) in meson_skdecrypt()
293 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()
Domap-aes-gcm.c215 static int omap_aes_gcm_prepare_req(struct crypto_engine *engine, void *areq) in omap_aes_gcm_prepare_req()
359 static int omap_aes_gcm_crypt_req(struct crypto_engine *engine, void *areq) in omap_aes_gcm_crypt_req()
Datmel-sha204a.c22 void *areq, int status) in atmel_sha204a_rng_done()
/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c37 static int rk_ahash_digest_fb(struct ahash_request *areq) in rk_ahash_digest_fb()
220 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in rk_hash_prepare() local
237 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in rk_hash_unprepare() local
248 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in rk_hash_run() local
Drk3288_crypto_skcipher.c55 static int rk_cipher_fallback(struct skcipher_request *areq) in rk_cipher_fallback()
314 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in rk_cipher_run() local
/drivers/crypto/bcm/
Dcipher.c303 struct crypto_async_request *areq = rctx->parent; in handle_skcipher_req() local
474 struct crypto_async_request *areq = rctx->parent; in handle_skcipher_resp() local
656 struct crypto_async_request *areq = rctx->parent; in handle_ahash_req() local
947 struct crypto_async_request *areq = rctx->parent; in ahash_req_done() local
997 struct crypto_async_request *areq = rctx->parent; in handle_ahash_resp() local
1262 struct crypto_async_request *areq = rctx->parent; in handle_aead_req() local
1532 struct crypto_async_request *areq = rctx->parent; in handle_aead_resp() local
1609 struct crypto_async_request *areq = rctx->parent; in finish_req() local
2573 static void aead_complete(struct crypto_async_request *areq, int err) in aead_complete()
/drivers/crypto/stm32/
Dstm32-cryp.c139 struct aead_request *areq; member
997 struct aead_request *areq) in stm32_cryp_prepare_req()
1082 void *areq) in stm32_cryp_prepare_cipher_req()
1091 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_cipher_one_req()
1106 static int stm32_cryp_prepare_aead_req(struct crypto_engine *engine, void *areq) in stm32_cryp_prepare_aead_req()
1114 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_aead_one_req()
/drivers/crypto/ux500/cryp/
Dcryp_core.c825 static int ablk_dma_crypt(struct skcipher_request *areq) in ablk_dma_crypt()
882 static int ablk_crypt(struct skcipher_request *areq) in ablk_crypt()
1014 static int cryp_blk_encrypt(struct skcipher_request *areq) in cryp_blk_encrypt()
1032 static int cryp_blk_decrypt(struct skcipher_request *areq) in cryp_blk_decrypt()
/drivers/crypto/caam/
Djr.c368 u32 status, void *areq), in caam_jr_enqueue()
Dcaamalg_qi2.c133 static struct caam_request *to_caam_req(struct crypto_async_request *areq) in to_caam_req()
1284 struct crypto_async_request *areq = cbk_ctx; in aead_encrypt_done() local
1305 struct crypto_async_request *areq = cbk_ctx; in aead_decrypt_done() local
1392 struct crypto_async_request *areq = cbk_ctx; in skcipher_encrypt_done() local
1430 struct crypto_async_request *areq = cbk_ctx; in skcipher_decrypt_done() local
3391 struct crypto_async_request *areq = cbk_ctx; in ahash_done() local
3418 struct crypto_async_request *areq = cbk_ctx; in ahash_done_bi() local
3456 struct crypto_async_request *areq = cbk_ctx; in ahash_done_ctx_src() local
3483 struct crypto_async_request *areq = cbk_ctx; in ahash_done_ctx_dst() local
/drivers/crypto/aspeed/
Daspeed-hace-crypto.c16 static int aspeed_crypto_do_fallback(struct skcipher_request *areq) in aspeed_crypto_do_fallback()
37 static bool aspeed_crypto_need_fallback(struct skcipher_request *areq) in aspeed_crypto_need_fallback()
68 static int aspeed_crypto_do_request(struct crypto_engine *engine, void *areq) in aspeed_crypto_do_request()
/drivers/crypto/qat/qat_common/
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/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