Home
last modified time | relevance | path

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

123

/Linux-v6.1/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 …]
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/crypto/
Dchacha20poly1305.c118 static void chacha_decrypt_done(struct crypto_async_request *areq, int err) in chacha_decrypt_done()
164 static void poly_tail_done(struct crypto_async_request *areq, int err) in poly_tail_done()
194 static void poly_cipherpad_done(struct crypto_async_request *areq, int err) in poly_cipherpad_done()
223 static void poly_cipher_done(struct crypto_async_request *areq, int err) in poly_cipher_done()
253 static void poly_adpad_done(struct crypto_async_request *areq, int err) in poly_adpad_done()
282 static void poly_ad_done(struct crypto_async_request *areq, int err) in poly_ad_done()
306 static void poly_setkey_done(struct crypto_async_request *areq, int err) in poly_setkey_done()
332 static void poly_init_done(struct crypto_async_request *areq, int err) in poly_init_done()
355 static void poly_genkey_done(struct crypto_async_request *areq, int err) in poly_genkey_done()
394 static void chacha_encrypt_done(struct crypto_async_request *areq, int err) in chacha_encrypt_done()
Dgcm.c249 static void gcm_hash_len_done(struct crypto_async_request *areq, int err) in gcm_hash_len_done()
270 static void gcm_hash_crypt_remain_done(struct crypto_async_request *areq, in gcm_hash_crypt_remain_done()
301 static void gcm_hash_crypt_done(struct crypto_async_request *areq, int err) in gcm_hash_crypt_done()
329 static void gcm_hash_assoc_remain_done(struct crypto_async_request *areq, in gcm_hash_assoc_remain_done()
358 static void gcm_hash_assoc_done(struct crypto_async_request *areq, int err) in gcm_hash_assoc_done()
383 static void gcm_hash_init_done(struct crypto_async_request *areq, int err) in gcm_hash_init_done()
436 static void gcm_encrypt_done(struct crypto_async_request *areq, int err) in gcm_encrypt_done()
480 static void gcm_decrypt_done(struct crypto_async_request *areq, int err) in gcm_decrypt_done()
Dcts.c88 static void cts_cbc_crypt_done(struct crypto_async_request *areq, int err) in cts_cbc_crypt_done()
128 static void crypto_cts_encrypt_done(struct crypto_async_request *areq, int err) in crypto_cts_encrypt_done()
222 static void crypto_cts_decrypt_done(struct crypto_async_request *areq, int err) in crypto_cts_decrypt_done()
Dxts.c143 static void xts_cts_done(struct crypto_async_request *areq, int err) in xts_cts_done()
199 static void xts_encrypt_done(struct crypto_async_request *areq, int err) in xts_encrypt_done()
219 static void xts_decrypt_done(struct crypto_async_request *areq, int err) in xts_decrypt_done()
Daf_alg.c659 static void af_alg_free_areq_sgls(struct af_alg_async_req *areq) in af_alg_free_areq_sgls()
1045 void af_alg_free_resources(struct af_alg_async_req *areq) in af_alg_free_resources()
1068 struct af_alg_async_req *areq = _req->data; in af_alg_async_cb() local
1120 struct af_alg_async_req *areq = sock_kmalloc(sk, areqlen, GFP_KERNEL); in af_alg_alloc_areq() local
1149 struct af_alg_async_req *areq, size_t maxsize, in af_alg_get_rsgl()
Dauthenc.c112 static void authenc_geniv_ahash_done(struct crypto_async_request *areq, int err) in authenc_geniv_ahash_done()
166 struct aead_request *areq = req->data; in crypto_authenc_encrypt_done() local
264 static void authenc_verify_ahash_done(struct crypto_async_request *areq, in authenc_verify_ahash_done()
Dauthencesn.c110 static void authenc_esn_geniv_ahash_done(struct crypto_async_request *areq, in authenc_esn_geniv_ahash_done()
159 struct aead_request *areq = req->data; in crypto_authenc_esn_encrypt_done() local
261 static void authenc_esn_verify_ahash_done(struct crypto_async_request *areq, in authenc_esn_verify_ahash_done()
Dahash.c287 struct ahash_request *areq = req->data; in ahash_op_unaligned_done() local
387 struct ahash_request *areq = req->data; in ahash_def_finup_done2() local
415 struct ahash_request *areq = req->data; in ahash_def_finup_done1() local
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/drivers/crypto/caam/
Djr.c368 u32 status, void *areq), in caam_jr_enqueue()
/Linux-v6.1/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()
/Linux-v6.1/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()

123