Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c230 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_req_result() local
312 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_req() local
521 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_inv_result() local
569 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_result() local
590 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_inv() local
608 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send() local
662 static int safexcel_ahash_cache(struct ahash_request *areq) in safexcel_ahash_cache()
687 static int safexcel_ahash_enqueue(struct ahash_request *areq) in safexcel_ahash_enqueue()
740 static int safexcel_ahash_update(struct ahash_request *areq) in safexcel_ahash_update()
765 static int safexcel_ahash_final(struct ahash_request *areq) in safexcel_ahash_final()
[all …]
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/
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()
502 int sun4i_hash_final(struct ahash_request *areq) in sun4i_hash_final()
510 int sun4i_hash_update(struct ahash_request *areq) in sun4i_hash_update()
519 int sun4i_hash_finup(struct ahash_request *areq) in sun4i_hash_finup()
528 int sun4i_hash_digest(struct ahash_request *areq) in sun4i_hash_digest()
Dsun4i-ss-cipher.c15 static int noinline_for_stack sun4i_ss_opti_poll(struct skcipher_request *areq) in sun4i_ss_opti_poll()
120 static int noinline_for_stack sun4i_ss_cipher_poll_fallback(struct skcipher_request *areq) in sun4i_ss_cipher_poll_fallback()
141 static int sun4i_ss_cipher_poll(struct skcipher_request *areq) in sun4i_ss_cipher_poll()
345 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_encrypt()
356 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_decrypt()
368 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_encrypt()
379 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_decrypt()
391 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_encrypt()
402 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_decrypt()
414 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_des_encrypt()
[all …]
/Linux-v5.10/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()
133 int sun8i_ce_hash_update(struct ahash_request *areq) in sun8i_ce_hash_update()
148 int sun8i_ce_hash_finup(struct ahash_request *areq) in sun8i_ce_hash_finup()
173 static int sun8i_ce_hash_digest_fb(struct ahash_request *areq) in sun8i_ce_hash_digest_fb()
198 static bool sun8i_ce_hash_need_fallback(struct ahash_request *areq) in sun8i_ce_hash_need_fallback()
216 int sun8i_ce_hash_digest(struct ahash_request *areq) in sun8i_ce_hash_digest()
251 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ce_hash_run() local
Dsun8i-ce-cipher.c23 static int sun8i_ce_cipher_need_fallback(struct skcipher_request *areq) in sun8i_ce_cipher_need_fallback()
52 static int sun8i_ce_cipher_fallback(struct skcipher_request *areq) in sun8i_ce_cipher_fallback()
80 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_prepare() local
272 static int sun8i_ce_cipher_run(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_run()
289 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_unprepare() local
333 int sun8i_ce_skdecrypt(struct skcipher_request *areq) in sun8i_ce_skdecrypt()
352 int sun8i_ce_skencrypt(struct skcipher_request *areq) in sun8i_ce_skencrypt()
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c72 int sun8i_ss_hash_init(struct ahash_request *areq) in sun8i_ss_hash_init()
86 int sun8i_ss_hash_export(struct ahash_request *areq, void *out) in sun8i_ss_hash_export()
98 int sun8i_ss_hash_import(struct ahash_request *areq, const void *in) in sun8i_ss_hash_import()
110 int sun8i_ss_hash_final(struct ahash_request *areq) in sun8i_ss_hash_final()
133 int sun8i_ss_hash_update(struct ahash_request *areq) in sun8i_ss_hash_update()
148 int sun8i_ss_hash_finup(struct ahash_request *areq) in sun8i_ss_hash_finup()
173 static int sun8i_ss_hash_digest_fb(struct ahash_request *areq) in sun8i_ss_hash_digest_fb()
257 static bool sun8i_ss_hash_need_fallback(struct ahash_request *areq) in sun8i_ss_hash_need_fallback()
281 int sun8i_ss_hash_digest(struct ahash_request *areq) in sun8i_ss_hash_digest()
319 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ss_hash_run() local
Dsun8i-ss-cipher.c22 static bool sun8i_ss_need_fallback(struct skcipher_request *areq) in sun8i_ss_need_fallback()
69 static int sun8i_ss_cipher_fallback(struct skcipher_request *areq) in sun8i_ss_cipher_fallback()
95 static int sun8i_ss_cipher(struct skcipher_request *areq) in sun8i_ss_cipher()
268 static int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq) in sun8i_ss_handle_cipher_request()
279 int sun8i_ss_skdecrypt(struct skcipher_request *areq) in sun8i_ss_skdecrypt()
300 int sun8i_ss_skencrypt(struct skcipher_request *areq) in sun8i_ss_skencrypt()
/Linux-v5.10/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()
273 int meson_skdecrypt(struct skcipher_request *areq) in meson_skdecrypt()
291 int meson_skencrypt(struct skcipher_request *areq) in meson_skencrypt()
/Linux-v5.10/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c193 struct aead_request *areq = arg; in nitrox_aead_callback() local
214 static int nitrox_aes_gcm_enc(struct aead_request *areq) in nitrox_aes_gcm_enc()
248 static int nitrox_aes_gcm_dec(struct aead_request *areq) in nitrox_aes_gcm_dec()
394 static int nitrox_rfc4106_set_aead_rctx_sglist(struct aead_request *areq) in nitrox_rfc4106_set_aead_rctx_sglist()
427 struct aead_request *areq = arg; in nitrox_rfc4106_callback() local
441 static int nitrox_rfc4106_enc(struct aead_request *areq) in nitrox_rfc4106_enc()
473 static int nitrox_rfc4106_dec(struct aead_request *areq) in nitrox_rfc4106_dec()
/Linux-v5.10/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()
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()
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()
Dxts.c142 static void xts_cts_done(struct crypto_async_request *areq, int err) in xts_cts_done()
198 static void xts_encrypt_done(struct crypto_async_request *areq, int err) in xts_encrypt_done()
218 static void xts_decrypt_done(struct crypto_async_request *areq, int err) in xts_decrypt_done()
Daf_alg.c658 static void af_alg_free_areq_sgls(struct af_alg_async_req *areq) in af_alg_free_areq_sgls()
1035 void af_alg_free_resources(struct af_alg_async_req *areq) in af_alg_free_resources()
1055 struct af_alg_async_req *areq = _req->data; in af_alg_async_cb() local
1104 struct af_alg_async_req *areq = sock_kmalloc(sk, areqlen, GFP_KERNEL); in af_alg_alloc_areq() local
1133 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-v5.10/drivers/crypto/
Dtalitos.c988 struct aead_request *areq, bool encrypt) in ipsec_esp_unmap()
1025 struct aead_request *areq = context; in ipsec_esp_encrypt_done() local
1190 static int ipsec_esp(struct talitos_edesc *edesc, struct aead_request *areq, in ipsec_esp()
1414 static struct talitos_edesc *aead_edesc_alloc(struct aead_request *areq, u8 *iv, in aead_edesc_alloc()
1531 struct skcipher_request *areq) in common_nonsnoop_unmap()
1547 struct skcipher_request *areq = context; in skcipher_done() local
1564 struct skcipher_request *areq, in common_nonsnoop()
1634 static struct talitos_edesc *skcipher_edesc_alloc(struct skcipher_request * in skcipher_edesc_alloc()
1646 static int skcipher_encrypt(struct skcipher_request *areq) in skcipher_encrypt()
1671 static int skcipher_decrypt(struct skcipher_request *areq) in skcipher_decrypt()
[all …]
Datmel-i2c.c268 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()
/Linux-v5.10/drivers/crypto/bcm/
Dcipher.c302 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
657 struct crypto_async_request *areq = rctx->parent; in handle_ahash_req() local
948 struct crypto_async_request *areq = rctx->parent; in ahash_req_done() local
999 struct crypto_async_request *areq = rctx->parent; in handle_ahash_resp() local
1264 struct crypto_async_request *areq = rctx->parent; in handle_aead_req() local
1534 struct crypto_async_request *areq = rctx->parent; in handle_aead_resp() local
1611 struct crypto_async_request *areq = rctx->parent; in finish_req() local
2575 static void aead_complete(struct crypto_async_request *areq, int err) in aead_complete()
/Linux-v5.10/drivers/crypto/caam/
Djr.c367 u32 status, void *areq), in caam_jr_enqueue()
/Linux-v5.10/drivers/crypto/ux500/cryp/
Dcryp_core.c824 static int ablk_dma_crypt(struct skcipher_request *areq) in ablk_dma_crypt()
881 static int ablk_crypt(struct skcipher_request *areq) in ablk_crypt()
1013 static int cryp_blk_encrypt(struct skcipher_request *areq) in cryp_blk_encrypt()
1031 static int cryp_blk_decrypt(struct skcipher_request *areq) in cryp_blk_decrypt()
/Linux-v5.10/drivers/crypto/stm32/
Dstm32-cryp.c142 struct aead_request *areq; member
917 struct aead_request *areq) in stm32_cryp_prepare_req()
1022 void *areq) in stm32_cryp_prepare_cipher_req()
1031 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_cipher_one_req()
1046 static int stm32_cryp_prepare_aead_req(struct crypto_engine *engine, void *areq) in stm32_cryp_prepare_aead_req()
1054 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_aead_one_req()

123