Home
last modified time | relevance | path

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

123

/Linux-v5.4/crypto/
Dxts.c33 struct rctx { struct
34 le128 t;
35 struct scatterlist *tail;
36 struct scatterlist sg[2];
37 struct skcipher_request subreq;
89 struct rctx *rctx = skcipher_request_ctx(req); in xor_tweak() local
153 struct rctx *rctx = skcipher_request_ctx(req); in cts_done() local
168 struct rctx *rctx = skcipher_request_ctx(req); in cts_final() local
206 struct rctx *rctx = skcipher_request_ctx(req); in encrypt_done() local
226 struct rctx *rctx = skcipher_request_ctx(req); in decrypt_done() local
[all …]
Dlrw.c52 struct rctx { struct
53 be128 t;
54 struct skcipher_request subreq;
147 struct rctx *rctx = skcipher_request_ctx(req); in xor_tweak() local
214 struct rctx *rctx = skcipher_request_ctx(req); in crypt_done() local
226 struct rctx *rctx = skcipher_request_ctx(req); in init_crypt() local
244 struct rctx *rctx = skcipher_request_ctx(req); in encrypt() local
255 struct rctx *rctx = skcipher_request_ctx(req); in decrypt() local
Dchacha20poly1305.c76 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in async_done_continue() local
99 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
158 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_tail_continue() local
175 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_tail() local
204 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_cipherpad() local
233 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_cipher() local
263 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_adpad() local
292 struct chachapoly_req_ctx *rctx = aead_request_ctx(req); in poly_ad() local
[all …]
Dcryptd.c272 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_complete() local
287 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_encrypt() local
315 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_decrypt() local
342 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_enqueue() local
508 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_enqueue() local
523 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_complete() local
539 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_init() local
563 struct cryptd_hash_request_ctx *rctx; in cryptd_hash_update() local
586 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_final() local
607 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_finup() 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
185 struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req); in cts_cbc_decrypt() local
244 struct crypto_cts_reqctx *rctx = skcipher_request_ctx(req); in crypto_cts_decrypt() local
Drmd128.c215 struct rmd128_ctx *rctx = shash_desc_ctx(desc); in rmd128_init() local
232 struct rmd128_ctx *rctx = shash_desc_ctx(desc); in rmd128_update() local
267 struct rmd128_ctx *rctx = shash_desc_ctx(desc); in rmd128_final() local
Drmd256.c230 struct rmd256_ctx *rctx = shash_desc_ctx(desc); in rmd256_init() local
251 struct rmd256_ctx *rctx = shash_desc_ctx(desc); in rmd256_update() local
286 struct rmd256_ctx *rctx = shash_desc_ctx(desc); in rmd256_final() local
Drmd160.c258 struct rmd160_ctx *rctx = shash_desc_ctx(desc); in rmd160_init() local
276 struct rmd160_ctx *rctx = shash_desc_ctx(desc); in rmd160_update() local
311 struct rmd160_ctx *rctx = shash_desc_ctx(desc); in rmd160_final() local
Drmd320.c277 struct rmd320_ctx *rctx = shash_desc_ctx(desc); in rmd320_init() local
300 struct rmd320_ctx *rctx = shash_desc_ctx(desc); in rmd320_update() local
335 struct rmd320_ctx *rctx = shash_desc_ctx(desc); in rmd320_final() local
/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c49 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_reg_init() local
81 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_init() local
94 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_update() local
109 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_final() local
123 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_finup() local
140 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_import() local
153 struct rk_ahash_rctx *rctx = ahash_request_ctx(req); in rk_ahash_export() local
197 struct rk_ahash_rctx *rctx; in rk_ahash_start() local
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c345 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_aes_encrypt() local
356 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_aes_decrypt() local
368 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_aes_encrypt() local
379 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_aes_decrypt() local
391 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des_encrypt() local
402 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des_decrypt() local
414 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_des_encrypt() local
425 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_des_decrypt() local
437 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des3_encrypt() local
448 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des3_decrypt() local
[all …]
/Linux-v5.4/drivers/crypto/
Domap-aes-gcm.c43 struct omap_aes_reqctx *rctx; in omap_aes_gcm_done_task() local
225 struct omap_aes_reqctx *rctx; in omap_aes_gcm_dma_out_callback() local
251 struct omap_aes_reqctx *rctx; in omap_aes_gcm_handle_queue() local
303 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_crypt() local
337 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_encrypt() local
345 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_decrypt() local
354 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_4106gcm_encrypt() local
365 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_4106gcm_decrypt() local
Dsahara.c554 struct sahara_aes_reqctx *rctx; in sahara_aes_process() local
635 struct sahara_aes_reqctx *rctx = ablkcipher_request_ctx(req); in sahara_aes_crypt() local
772 struct sahara_sha_reqctx *rctx) in sahara_sha_init_hdr()
795 struct sahara_sha_reqctx *rctx, in sahara_sha_hw_links_create()
835 struct sahara_sha_reqctx *rctx, in sahara_sha_hw_data_descriptor_create()
888 struct sahara_sha_reqctx *rctx, in sahara_sha_hw_context_descriptor_create()
927 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_prepare_request() local
1001 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_process() local
1093 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_enqueue() local
1119 struct sahara_sha_reqctx *rctx = ahash_request_ctx(req); in sahara_sha_init() local
[all …]
Datmel-aes.c478 const struct atmel_aes_reqctx *rctx) in atmel_aes_set_mode()
506 struct atmel_aes_reqctx *rctx = ablkcipher_request_ctx(req); in atmel_aes_complete() local
980 struct atmel_aes_reqctx *rctx = ablkcipher_request_ctx(req); in atmel_aes_start() local
1075 struct atmel_aes_reqctx *rctx = ablkcipher_request_ctx(req); in atmel_aes_ctr_start() local
1094 struct atmel_aes_reqctx *rctx; in atmel_aes_crypt() local
1535 struct atmel_aes_reqctx *rctx = aead_request_ctx(req); in atmel_aes_gcm_start() local
1750 struct atmel_aes_reqctx *rctx; in atmel_aes_gcm_crypt() local
1861 struct atmel_aes_reqctx *rctx = ablkcipher_request_ctx(req); in atmel_aes_xts_start() local
1991 struct atmel_aes_authenc_reqctx *rctx = aead_request_ctx(req); in atmel_aes_authenc_complete() local
2001 struct atmel_aes_authenc_reqctx *rctx = aead_request_ctx(req); in atmel_aes_authenc_start() local
[all …]
/Linux-v5.4/drivers/crypto/bcm/
Dcipher.c134 struct iproc_reqctx_s *rctx, in spu_ablkcipher_rx_sg_create()
202 struct iproc_reqctx_s *rctx, in spu_ablkcipher_tx_sg_create()
303 static int handle_ablkcipher_req(struct iproc_reqctx_s *rctx) in handle_ablkcipher_req()
502 static void handle_ablkcipher_resp(struct iproc_reqctx_s *rctx) in handle_ablkcipher_resp()
563 struct iproc_reqctx_s *rctx, in spu_ahash_rx_sg_create()
615 struct iproc_reqctx_s *rctx, in spu_ahash_tx_sg_create()
689 static int handle_ahash_req(struct iproc_reqctx_s *rctx) in handle_ahash_req()
980 static int ahash_req_done(struct iproc_reqctx_s *rctx) in ahash_req_done()
1030 static void handle_ahash_resp(struct iproc_reqctx_s *rctx) in handle_ahash_resp()
1081 struct iproc_reqctx_s *rctx, in spu_aead_rx_sg_create()
[all …]
/Linux-v5.4/drivers/crypto/qce/
Dsha.c34 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_done() local
71 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_async_req_handle() local
126 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_init() local
142 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_export() local
173 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_import_common() local
206 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_import() local
229 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_update() local
304 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_final() local
327 struct qce_sha_reqctx *rctx = ahash_request_ctx(req); in qce_ahash_digest() local
Dablkcipher.c21 struct qce_cipher_reqctx *rctx = ablkcipher_request_ctx(req); in qce_ablkcipher_done() local
55 struct qce_cipher_reqctx *rctx = ablkcipher_request_ctx(req); in qce_ablkcipher_async_req_handle() local
215 struct qce_cipher_reqctx *rctx = ablkcipher_request_ctx(req); in qce_ablkcipher_crypt() local
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_aead.c135 static int nitrox_set_creq(struct nitrox_aead_rctx *rctx) in nitrox_set_creq()
177 struct nitrox_aead_rctx *rctx = aead_request_ctx(areq); in nitrox_aead_callback() local
193 struct nitrox_aead_rctx *rctx = aead_request_ctx(areq); in nitrox_aes_gcm_enc() local
224 struct nitrox_aead_rctx *rctx = aead_request_ctx(areq); in nitrox_aes_gcm_dec() local
365 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx(areq); in nitrox_rfc4106_set_aead_rctx_sglist() local
397 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx(areq); in nitrox_rfc4106_callback() local
414 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx(areq); in nitrox_rfc4106_enc() local
446 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx(areq); in nitrox_rfc4106_dec() local
/Linux-v5.4/drivers/crypto/stm32/
Dstm32-hash.c252 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_write_ctrl() local
295 static void stm32_hash_append_sg(struct stm32_hash_request_ctx *rctx) in stm32_hash_append_sg()
380 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_update_cpu() local
478 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_hmac_dma_send() local
542 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(hdev->req); in stm32_hash_dma_send() local
683 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_init() local
732 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_final_req() local
749 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_copy_hash() local
777 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_finish() local
789 struct stm32_hash_request_ctx *rctx = ahash_request_ctx(req); in stm32_hash_finish_req() local
[all …]
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c28 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_complete() local
60 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_do_cmac_update() local
185 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_init() local
222 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_export() local
241 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx(req); in ccp_aes_cmac_import() local
Dccp-crypto-sha.c29 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_complete() local
61 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_do_sha_update() local
184 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_init() local
232 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_export() local
253 struct ccp_sha_req_ctx *rctx = ahash_request_ctx(req); in ccp_sha_import() local
Dccp-crypto-aes.c26 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_complete() local
70 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_crypt() local
143 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_rfc3686_complete() local
168 struct ccp_aes_req_ctx *rctx = ablkcipher_request_ctx(req); in ccp_aes_rfc3686_crypt() local
/Linux-v5.4/drivers/crypto/nx/
Dnx-aes-gcm.c314 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm_aes_nx_crypt() local
422 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm_aes_nx_encrypt() local
432 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm_aes_nx_decrypt() local
444 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm4106_aes_nx_encrypt() local
461 struct nx_gcm_rctx *rctx = aead_request_ctx(req); in gcm4106_aes_nx_decrypt() local
/Linux-v5.4/kernel/events/
Dcallchain.c152 static struct perf_callchain_entry *get_callchain_entry(int *rctx) in get_callchain_entry()
172 put_callchain_entry(int rctx) in put_callchain_entry()
183 int rctx; in get_perf_callchain() local
/Linux-v5.4/drivers/crypto/cavium/cpt/
Dcptvf_algs.c100 struct cvm_req_ctx *rctx = ablkcipher_request_ctx(req); in create_ctx_hdr() local
153 struct cvm_req_ctx *rctx = ablkcipher_request_ctx(req); in create_input_list() local
175 struct cvm_req_ctx *rctx = ablkcipher_request_ctx(req); in create_output_list() local
195 struct cvm_req_ctx *rctx = ablkcipher_request_ctx(req); in cvm_enc_dec() local

123