Home
last modified time | relevance | path

Searched defs:rctx (Results 1 – 25 of 57) sorted by relevance

123

/Linux-v4.19/crypto/
Dxts.c41 struct rctx { struct
42 le128 buf[XTS_BUFFER_SIZE / sizeof(le128)];
44 le128 t;
46 le128 *ext;
48 struct scatterlist srcbuf[2];
49 struct scatterlist dstbuf[2];
50 struct scatterlist *src;
51 struct scatterlist *dst;
53 unsigned int left;
55 struct skcipher_request subreq;
[all …]
Dlrw.c58 struct rctx { struct
59 be128 buf[LRW_BUFFER_SIZE / sizeof(be128)];
61 be128 t;
63 be128 *ext;
65 struct scatterlist srcbuf[2];
66 struct scatterlist dstbuf[2];
67 struct scatterlist *src;
68 struct scatterlist *dst;
70 unsigned int left;
72 struct skcipher_request subreq;
[all …]
Dchacha20poly1305.c99 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_verify_tag() local
112 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_copy_tag() local
128 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in chacha_decrypt() local
162 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_tail_continue() local
179 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_tail() local
212 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_cipherpad() local
242 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_cipher() local
273 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_adpad() local
303 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_ad() local
327 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_setkey() local
[all …]
Dmcryptd.c102 struct mcryptd_hash_request_ctx *rctx) in mcryptd_enqueue_request()
319 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_enqueue() local
337 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_init() local
364 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_update() local
391 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_final() local
418 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_finup() local
447 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_digest() local
473 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_export() local
480 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_import() local
625 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_ahash_desc() local
Dcryptd.c243 struct cryptd_blkcipher_request_ctx *rctx; in cryptd_blkcipher_crypt() local
296 struct cryptd_blkcipher_request_ctx *rctx = ablkcipher_request_ctx(req); in cryptd_blkcipher_enqueue() local
468 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_complete() local
483 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_encrypt() local
511 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_decrypt() local
538 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_enqueue() local
703 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_enqueue() local
718 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_complete() local
734 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_init() local
759 struct cryptd_hash_request_ctx *rctx; in cryptd_hash_update() local
[all …]
Dcts.c67 struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req); in crypto_cts_reqctx_space() local
104 struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req); in cts_cbc_encrypt() local
150 struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req); in crypto_cts_encrypt() local
183 struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req); in cts_cbc_decrypt() local
242 struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req); in crypto_cts_decrypt() local
Drmd256.c235 struct rmd256_ctx *rctx = shash_desc_ctx(desc); in rmd256_init() local
256 struct rmd256_ctx *rctx = shash_desc_ctx(desc); in rmd256_update() local
291 struct rmd256_ctx *rctx = shash_desc_ctx(desc); in rmd256_final() local
Drmd128.c220 struct rmd128_ctx *rctx = shash_desc_ctx(desc); in rmd128_init() local
237 struct rmd128_ctx *rctx = shash_desc_ctx(desc); in rmd128_update() local
272 struct rmd128_ctx *rctx = shash_desc_ctx(desc); in rmd128_final() local
Drmd320.c282 struct rmd320_ctx *rctx = shash_desc_ctx(desc); in rmd320_init() local
305 struct rmd320_ctx *rctx = shash_desc_ctx(desc); in rmd320_update() local
340 struct rmd320_ctx *rctx = shash_desc_ctx(desc); in rmd320_final() local
/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c52 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_reg_init() local
84 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_init() local
97 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_update() local
112 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_final() local
126 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_finup() local
143 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_import() local
156 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_export() local
200 struct rk_ahash_rctx *rctx; in rk_ahash_start() local
/Linux-v4.19/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c324 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_aes_encrypt() local
335 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_aes_decrypt() local
347 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_aes_encrypt() local
358 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_aes_decrypt() local
370 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des_encrypt() local
381 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des_decrypt() local
393 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_des_encrypt() local
404 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_des_decrypt() local
416 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des3_encrypt() local
427 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des3_decrypt() local
[all …]
/Linux-v4.19/drivers/crypto/
Domap-aes-gcm.c47 struct omap_aes_reqctx *rctx; in omap_aes_gcm_done_task() local
229 struct omap_aes_reqctx *rctx; in omap_aes_gcm_dma_out_callback() local
255 struct omap_aes_reqctx *rctx; in omap_aes_gcm_handle_queue() local
307 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_crypt() local
341 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_encrypt() local
349 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_decrypt() local
358 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_4106gcm_encrypt() local
369 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_4106gcm_decrypt() local
Dsahara.c557 struct sahara_aes_reqctx *rctx; in sahara_aes_process() local
638 struct sahara_aes_reqctx *rctx = ablkcipher_request_ctx(req); in sahara_aes_crypt() local
776 struct sahara_sha_reqctx *rctx) in sahara_sha_init_hdr()
799 struct sahara_sha_reqctx *rctx, in sahara_sha_hw_links_create()
839 struct sahara_sha_reqctx *rctx, in sahara_sha_hw_data_descriptor_create()
892 struct sahara_sha_reqctx *rctx, in sahara_sha_hw_context_descriptor_create()
931 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_prepare_request() local
1005 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_process() local
1097 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_enqueue() local
1123 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_init() local
[all …]
/Linux-v4.19/drivers/crypto/qce/
Dsha.c42 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_done() local
79 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_async_req_handle() local
134 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_init() local
150 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_export() local
181 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_import_common() local
214 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_import() local
237 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_update() local
312 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_final() local
335 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_digest() local
Dablkcipher.c29 struct qce_cipher_reqctx *rctx = ablkcipher_request_ctx(req); in qce_ablkcipher_done() local
63 struct qce_cipher_reqctx *rctx = ablkcipher_request_ctx(req); in qce_ablkcipher_async_req_handle() local
206 struct qce_cipher_reqctx *rctx = ablkcipher_request_ctx(req); in qce_ablkcipher_crypt() local
/Linux-v4.19/drivers/crypto/bcm/
Dcipher.c145 struct iproc_reqctx_s *rctx, in spu_ablkcipher_rx_sg_create()
213 struct iproc_reqctx_s *rctx, in spu_ablkcipher_tx_sg_create()
314 static int handle_ablkcipher_req(struct iproc_reqctx_s *rctx) in handle_ablkcipher_req()
513 static void handle_ablkcipher_resp(struct iproc_reqctx_s *rctx) in handle_ablkcipher_resp()
574 struct iproc_reqctx_s *rctx, in spu_ahash_rx_sg_create()
626 struct iproc_reqctx_s *rctx, in spu_ahash_tx_sg_create()
700 static int handle_ahash_req(struct iproc_reqctx_s *rctx) in handle_ahash_req()
991 static int ahash_req_done(struct iproc_reqctx_s *rctx) in ahash_req_done()
1041 static void handle_ahash_resp(struct iproc_reqctx_s *rctx) in handle_ahash_resp()
1092 struct iproc_reqctx_s *rctx, in spu_aead_rx_sg_create()
[all …]
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-hash.c268 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_write_ctrl() local
311 static void stm32_hash_append_sg(struct stm32_hash_request_ctx *rctx) in stm32_hash_append_sg()
396 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_update_cpu() local
494 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_hmac_dma_send() local
558 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_dma_send() local
699 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_init() local
748 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_final_req() local
765 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_copy_hash() local
793 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_finish() local
805 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_finish_req() local
[all …]
/Linux-v4.19/arch/x86/crypto/sha1-mb/
Dsha1_mb.c95 static void req_ctx_init(struct mcryptd_hash_request_ctx *rctx, in req_ctx_init()
373 static int sha1_mb_set_results(struct mcryptd_hash_request_ctx *rctx) in sha1_mb_set_results()
390 struct mcryptd_hash_request_ctx *rctx = *ret_rctx; in sha_finish_walk() local
434 static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx, in sha_complete_job()
481 static void sha1_mb_add_list(struct mcryptd_hash_request_ctx *rctx, in sha1_mb_add_list()
502 struct mcryptd_hash_request_ctx *rctx = in sha1_mb_update() local
561 struct mcryptd_hash_request_ctx *rctx = in sha1_mb_finup() local
621 struct mcryptd_hash_request_ctx *rctx = in sha1_mb_final() local
844 struct mcryptd_hash_request_ctx *rctx; in sha1_mb_async_import() local
895 struct mcryptd_hash_request_ctx *rctx; in sha1_mb_flusher() local
/Linux-v4.19/arch/x86/crypto/sha256-mb/
Dsha256_mb.c95 static void req_ctx_init(struct mcryptd_hash_request_ctx *rctx, in req_ctx_init()
372 static int sha256_mb_set_results(struct mcryptd_hash_request_ctx *rctx) in sha256_mb_set_results()
389 struct mcryptd_hash_request_ctx *rctx = *ret_rctx; in sha_finish_walk() local
433 static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx, in sha_complete_job()
480 static void sha256_mb_add_list(struct mcryptd_hash_request_ctx *rctx, in sha256_mb_add_list()
501 struct mcryptd_hash_request_ctx *rctx = in sha256_mb_update() local
559 struct mcryptd_hash_request_ctx *rctx = in sha256_mb_finup() local
619 struct mcryptd_hash_request_ctx *rctx = in sha256_mb_final() local
843 struct mcryptd_hash_request_ctx *rctx; in sha256_mb_async_import() local
895 struct mcryptd_hash_request_ctx *rctx; in sha256_mb_flusher() local
/Linux-v4.19/arch/x86/crypto/sha512-mb/
Dsha512_mb.c95 static void req_ctx_init(struct mcryptd_hash_request_ctx *rctx, in req_ctx_init()
401 static int sha512_mb_set_results(struct mcryptd_hash_request_ctx *rctx) in sha512_mb_set_results()
418 struct mcryptd_hash_request_ctx *rctx = *ret_rctx; in sha_finish_walk() local
462 static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx, in sha_complete_job()
510 static void sha512_mb_add_list(struct mcryptd_hash_request_ctx *rctx, in sha512_mb_add_list()
532 struct mcryptd_hash_request_ctx *rctx = in sha512_mb_update() local
592 struct mcryptd_hash_request_ctx *rctx = in sha512_mb_finup() local
653 struct mcryptd_hash_request_ctx *rctx = in sha512_mb_final() local
876 struct mcryptd_hash_request_ctx *rctx; in sha512_mb_async_import() local
929 struct mcryptd_hash_request_ctx *rctx; in sha512_mb_flusher() local
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c31 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_complete() local
63 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_do_cmac_update() local
188 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_init() local
225 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_export() local
244 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_import() local
Dccp-crypto-sha.c32 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_complete() local
64 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_do_sha_update() local
187 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_init() local
235 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_export() local
256 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_import() local
Dccp-crypto-aes.c29 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_complete() local
73 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_crypt() local
147 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_rfc3686_complete() local
172 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_rfc3686_crypt() local
/Linux-v4.19/drivers/crypto/nx/
Dnx-aes-gcm.c326 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm_aes_nx_crypt() local
434 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm_aes_nx_encrypt() local
444 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm_aes_nx_decrypt() local
456 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm4106_aes_nx_encrypt() local
473 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm4106_aes_nx_decrypt() local
/Linux-v4.19/kernel/events/
Dcallchain.c153 static struct perf_callchain_entry *get_callchain_entry(int *rctx) in get_callchain_entry()
173 put_callchain_entry(int rctx) in put_callchain_entry()
184 int rctx; in get_perf_callchain() local

123