Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c231 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_req_result() local
313 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_req() local
522 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_inv_result() local
570 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_result() local
591 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_inv() local
609 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send() local
663 static int safexcel_ahash_cache(struct ahash_request *areq) in safexcel_ahash_cache()
688 static int safexcel_ahash_enqueue(struct ahash_request *areq) in safexcel_ahash_enqueue()
741 static int safexcel_ahash_update(struct ahash_request *areq) in safexcel_ahash_update()
766 static int safexcel_ahash_final(struct ahash_request *areq) in safexcel_ahash_final()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A 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()
H A Dsun4i-ss-cipher.c15 static int noinline_for_stack sun4i_ss_opti_poll(struct skcipher_request *areq) in sun4i_ss_opti_poll()
144 static int noinline_for_stack sun4i_ss_cipher_poll_fallback(struct skcipher_request *areq) in sun4i_ss_cipher_poll_fallback()
165 static int sun4i_ss_cipher_poll(struct skcipher_request *areq) in sun4i_ss_cipher_poll()
384 int sun4i_ss_cbc_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_encrypt()
395 int sun4i_ss_cbc_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_aes_decrypt()
407 int sun4i_ss_ecb_aes_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_encrypt()
418 int sun4i_ss_ecb_aes_decrypt(struct skcipher_request *areq) in sun4i_ss_ecb_aes_decrypt()
430 int sun4i_ss_cbc_des_encrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_encrypt()
441 int sun4i_ss_cbc_des_decrypt(struct skcipher_request *areq) in sun4i_ss_cbc_des_decrypt()
453 int sun4i_ss_ecb_des_encrypt(struct skcipher_request *areq) in sun4i_ss_ecb_des_encrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c73 int sun8i_ce_hash_init(struct ahash_request *areq) in sun8i_ce_hash_init()
87 int sun8i_ce_hash_export(struct ahash_request *areq, void *out) in sun8i_ce_hash_export()
99 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in) in sun8i_ce_hash_import()
111 int sun8i_ce_hash_final(struct ahash_request *areq) in sun8i_ce_hash_final()
134 int sun8i_ce_hash_update(struct ahash_request *areq) in sun8i_ce_hash_update()
149 int sun8i_ce_hash_finup(struct ahash_request *areq) in sun8i_ce_hash_finup()
174 static int sun8i_ce_hash_digest_fb(struct ahash_request *areq) in sun8i_ce_hash_digest_fb()
199 static bool sun8i_ce_hash_need_fallback(struct ahash_request *areq) in sun8i_ce_hash_need_fallback()
217 int sun8i_ce_hash_digest(struct ahash_request *areq) in sun8i_ce_hash_digest()
252 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ce_hash_run() local
H A Dsun8i-ce-cipher.c24 static int sun8i_ce_cipher_need_fallback(struct skcipher_request *areq) in sun8i_ce_cipher_need_fallback()
53 static int sun8i_ce_cipher_fallback(struct skcipher_request *areq) in sun8i_ce_cipher_fallback()
81 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_prepare() local
273 static int sun8i_ce_cipher_run(struct crypto_engine *engine, void *areq) in sun8i_ce_cipher_run()
292 struct skcipher_request *areq = container_of(async_req, struct skcipher_request, base); in sun8i_ce_cipher_unprepare() local
336 int sun8i_ce_skdecrypt(struct skcipher_request *areq) in sun8i_ce_skdecrypt()
355 int sun8i_ce_skencrypt(struct skcipher_request *areq) in sun8i_ce_skencrypt()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c73 int sun8i_ss_hash_init(struct ahash_request *areq) in sun8i_ss_hash_init()
87 int sun8i_ss_hash_export(struct ahash_request *areq, void *out) in sun8i_ss_hash_export()
99 int sun8i_ss_hash_import(struct ahash_request *areq, const void *in) in sun8i_ss_hash_import()
111 int sun8i_ss_hash_final(struct ahash_request *areq) in sun8i_ss_hash_final()
134 int sun8i_ss_hash_update(struct ahash_request *areq) in sun8i_ss_hash_update()
149 int sun8i_ss_hash_finup(struct ahash_request *areq) in sun8i_ss_hash_finup()
174 static int sun8i_ss_hash_digest_fb(struct ahash_request *areq) in sun8i_ss_hash_digest_fb()
258 static bool sun8i_ss_hash_need_fallback(struct ahash_request *areq) in sun8i_ss_hash_need_fallback()
282 int sun8i_ss_hash_digest(struct ahash_request *areq) in sun8i_ss_hash_digest()
320 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ss_hash_run() local
H A Dsun8i-ss-cipher.c23 static bool sun8i_ss_need_fallback(struct skcipher_request *areq) in sun8i_ss_need_fallback()
70 static int sun8i_ss_cipher_fallback(struct skcipher_request *areq) in sun8i_ss_cipher_fallback()
96 static int sun8i_ss_setup_ivs(struct skcipher_request *areq) in sun8i_ss_setup_ivs()
159 static int sun8i_ss_cipher(struct skcipher_request *areq) in sun8i_ss_cipher()
309 static int sun8i_ss_handle_cipher_request(struct crypto_engine *engine, void *areq) in sun8i_ss_handle_cipher_request()
322 int sun8i_ss_skdecrypt(struct skcipher_request *areq) in sun8i_ss_skdecrypt()
343 int sun8i_ss_skencrypt(struct skcipher_request *areq) in sun8i_ss_skencrypt()
/OK3568_Linux_fs/kernel/drivers/crypto/amlogic/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/
H A 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()
/OK3568_Linux_fs/kernel/crypto/
H A 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()
H A 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()
H A 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()
H A 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()
H A Daf_alg.c662 static void af_alg_free_areq_sgls(struct af_alg_async_req *areq) in af_alg_free_areq_sgls()
1039 void af_alg_free_resources(struct af_alg_async_req *areq) in af_alg_free_resources()
1059 struct af_alg_async_req *areq = _req->data; in af_alg_async_cb() local
1108 struct af_alg_async_req *areq = sock_kmalloc(sk, areqlen, GFP_KERNEL); in af_alg_alloc_areq() local
1137 struct af_alg_async_req *areq, size_t maxsize, in af_alg_get_rsgl()
H A 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()
H A 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()
H A 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
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dtalitos.c988 struct aead_request *areq, bool encrypt) in ipsec_esp_unmap()
1025 struct aead_request *areq = context; in ipsec_esp_encrypt_done() local
1192 static int ipsec_esp(struct talitos_edesc *edesc, struct aead_request *areq, in ipsec_esp()
1416 static struct talitos_edesc *aead_edesc_alloc(struct aead_request *areq, u8 *iv, in aead_edesc_alloc()
1533 struct skcipher_request *areq) in common_nonsnoop_unmap()
1549 struct skcipher_request *areq = context; in skcipher_done() local
1566 struct skcipher_request *areq, in common_nonsnoop()
1638 static struct talitos_edesc *skcipher_edesc_alloc(struct skcipher_request * in skcipher_edesc_alloc()
1650 static int skcipher_encrypt(struct skcipher_request *areq) in skcipher_encrypt()
1675 static int skcipher_decrypt(struct skcipher_request *areq) in skcipher_decrypt()
[all …]
H A Datmel-i2c.c268 void *areq, int status), in atmel_i2c_enqueue()
H A 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()
H A Datmel-sha204a.c22 void *areq, int status) in atmel_sha204a_rng_done()
/OK3568_Linux_fs/kernel/drivers/crypto/bcm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Djr.c367 u32 status, void *areq), in caam_jr_enqueue()
/OK3568_Linux_fs/kernel/drivers/crypto/ux500/cryp/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/stm32/
H A Dstm32-cryp.c139 struct aead_request *areq; member
984 struct aead_request *areq) in stm32_cryp_prepare_req()
1069 void *areq) in stm32_cryp_prepare_cipher_req()
1078 static int stm32_cryp_cipher_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_cipher_one_req()
1093 static int stm32_cryp_prepare_aead_req(struct crypto_engine *engine, void *areq) in stm32_cryp_prepare_aead_req()
1101 static int stm32_cryp_aead_one_req(struct crypto_engine *engine, void *areq) in stm32_cryp_aead_one_req()

123