/linux/drivers/crypto/rockchip/ |
H A D | rk3288_crypto_skcipher.c | 72 struct rk_cipher_rctx *rctx = skcipher_request_ctx(areq); in rk_cipher_fallback() local 93 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_cipher_handle_req() local 157 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_aes_ecb_encrypt() local 165 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_aes_ecb_decrypt() local 173 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_aes_cbc_encrypt() local 181 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_aes_cbc_decrypt() local 189 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_des_ecb_encrypt() local 197 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_des_ecb_decrypt() local 205 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_des_cbc_encrypt() local 213 struct rk_cipher_rctx *rctx = skcipher_request_ctx(req); in rk_des_cbc_decrypt() local [all …]
|
/linux/drivers/crypto/tegra/ |
H A D | tegra-se-aes.c | 106 struct tegra_aes_reqctx *rctx = skcipher_request_ctx(req); in tegra_cbc_iv_copyback() local 209 struct tegra_aes_reqctx *rctx) in tegra_aes_prep_cmd() 267 struct tegra_aes_reqctx *rctx = skcipher_request_ctx(req); in tegra_aes_do_one_req() local 482 struct tegra_aes_reqctx *rctx; in tegra_aes_crypt() local 607 struct tegra_aead_reqctx *rctx) in tegra_gmac_prep_cmd() 647 struct tegra_aead_reqctx *rctx) in tegra_gcm_crypt_prep_cmd() 707 struct tegra_aead_reqctx *rctx) in tegra_gcm_prep_final_cmd() 757 static int tegra_gcm_do_gmac(struct tegra_aead_ctx *ctx, struct tegra_aead_reqctx *rctx) in tegra_gcm_do_gmac() 774 static int tegra_gcm_do_crypt(struct tegra_aead_ctx *ctx, struct tegra_aead_reqctx *rctx) in tegra_gcm_do_crypt() 799 static int tegra_gcm_do_final(struct tegra_aead_ctx *ctx, struct tegra_aead_reqctx *rctx) in tegra_gcm_do_final() [all …]
|
/linux/drivers/crypto/aspeed/ |
H A D | aspeed-hace-hash.c | 78 struct aspeed_sham_reqctx *rctx) in aspeed_ahash_fill_padding() 119 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_dma_prepare() local 168 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_dma_prepare_sg() local 293 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_transfer() local 316 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_hace_ahash_trigger() local 350 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_hmac_resume() local 409 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_req_final() local 457 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_update_resume_sg() local 488 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_update_resume() local 505 struct aspeed_sham_reqctx *rctx = ahash_request_ctx(req); in aspeed_ahash_req_update() local [all …]
|
H A D | aspeed-hace-crypto.c | 29 struct aspeed_cipher_reqctx *rctx = skcipher_request_ctx(areq); in aspeed_crypto_do_fallback() local 50 struct aspeed_cipher_reqctx *rctx = skcipher_request_ctx(areq); in aspeed_crypto_need_fallback() local 103 struct aspeed_cipher_reqctx *rctx; in aspeed_sk_complete() local 132 struct aspeed_cipher_reqctx *rctx; in aspeed_sk_transfer_sg() local 153 struct aspeed_cipher_reqctx *rctx; in aspeed_sk_transfer() local 183 struct aspeed_cipher_reqctx *rctx; in aspeed_sk_start() local 224 struct aspeed_cipher_reqctx *rctx; in aspeed_sk_start_sg() local 365 struct aspeed_cipher_reqctx *rctx; in aspeed_hace_skcipher_trigger() local 408 struct aspeed_cipher_reqctx *rctx = skcipher_request_ctx(req); in aspeed_des_crypt() local 538 struct aspeed_cipher_reqctx *rctx = skcipher_request_ctx(req); in aspeed_aes_crypt() local
|
/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-hcu-core.c | 115 static inline unsigned int kmb_get_total_data(struct ocs_hcu_rctx *rctx) in kmb_get_total_data() 121 static int flush_sg_to_ocs_buffer(struct ocs_hcu_rctx *rctx) in flush_sg_to_ocs_buffer() 188 struct ocs_hcu_rctx *rctx) in kmb_ocs_hcu_dma_cleanup() 229 struct ocs_hcu_rctx *rctx = ahash_request_ctx_dma(req); in kmb_ocs_dma_prepare() local 359 struct ocs_hcu_rctx *rctx = ahash_request_ctx_dma(req); in kmb_ocs_hcu_secure_cleanup() local 377 struct ocs_hcu_rctx *rctx = ahash_request_ctx_dma(req); in prepare_ipad() local 417 struct ocs_hcu_rctx *rctx = ahash_request_ctx_dma(req); in kmb_ocs_hcu_do_one_request() local 564 struct ocs_hcu_rctx *rctx = ahash_request_ctx_dma(req); in kmb_ocs_hcu_init() local 617 struct ocs_hcu_rctx *rctx = ahash_request_ctx_dma(req); in kmb_ocs_hcu_update() local 653 struct ocs_hcu_rctx *rctx = ahash_request_ctx_dma(req); in kmb_ocs_hcu_fin_common() local [all …]
|
/linux/drivers/crypto/ |
H A D | omap-aes-gcm.c | 49 struct omap_aes_reqctx *rctx; in omap_aes_gcm_done_task() local 188 struct omap_aes_reqctx *rctx; in omap_aes_gcm_dma_out_callback() local 221 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_prepare_req() local 241 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_crypt() local 275 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_encrypt() local 283 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_decrypt() local 292 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_4106gcm_encrypt() local 304 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_4106gcm_decrypt() local 364 struct omap_aes_reqctx *rctx = aead_request_ctx(req); in omap_aes_gcm_crypt_req() local
|
H A D | hifn_795x.c | 1096 struct hifn_context *ctx, struct hifn_request_context *rctx, in hifn_setup_cmd_desc() 1304 struct hifn_context *ctx, struct hifn_request_context *rctx, in hifn_setup_dma() 1510 struct hifn_request_context *rctx = skcipher_request_ctx(req); in hifn_setup_session() local 1651 struct hifn_request_context *rctx = skcipher_request_ctx(req); in hifn_process_ready() local 1987 struct hifn_request_context *rctx = skcipher_request_ctx(req); in hifn_setup_crypto_req() local
|
/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-cipher.c | 401 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_aes_encrypt() local 412 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_aes_decrypt() local 424 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_aes_encrypt() local 435 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_aes_decrypt() local 447 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des_encrypt() local 458 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des_decrypt() local 470 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_des_encrypt() local 481 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_ecb_des_decrypt() local 493 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des3_encrypt() local 504 struct sun4i_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sun4i_ss_cbc_des3_decrypt() local [all …]
|
/linux/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 66 struct starfive_cryp_request_ctx *rctx = ctx->rctx; in starfive_hash_hmac_key() local 167 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_copy_hash() local 200 struct starfive_cryp_request_ctx *rctx = ctx->rctx; in starfive_hash_one_request() local 258 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_init() local 274 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_update() local 291 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_final() local 308 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_finup() local 327 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_digest() local 345 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_export() local 359 struct starfive_cryp_request_ctx *rctx = ahash_request_ctx(req); in starfive_hash_import() local
|
H A D | jh7110-aes.c | 226 struct starfive_cryp_request_ctx *rctx = ctx->rctx; in starfive_aes_hw_init() local 295 struct starfive_cryp_request_ctx *rctx = ctx->rctx; in starfive_aes_read_authtag() local 345 struct starfive_cryp_request_ctx *rctx = ctx->rctx; in starfive_aes_gcm_write_adata() local 373 struct starfive_cryp_request_ctx *rctx = ctx->rctx; in starfive_aes_ccm_write_adata() local 574 struct starfive_cryp_request_ctx *rctx = skcipher_request_ctx(req); in starfive_aes_do_one_req() local 644 struct starfive_cryp_request_ctx *rctx = aead_request_ctx(req); in starfive_aes_aead_do_one_req() local
|
/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_aead.c | 151 static int nitrox_set_creq(struct nitrox_aead_rctx *rctx) in nitrox_set_creq() 193 struct nitrox_aead_rctx *rctx = aead_request_ctx(areq); in nitrox_aead_callback() local 217 struct nitrox_aead_rctx *rctx = aead_request_ctx(areq); in nitrox_aes_gcm_enc() local 251 struct nitrox_aead_rctx *rctx = aead_request_ctx(areq); in nitrox_aes_gcm_dec() local 395 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx_dma(areq); in nitrox_rfc4106_set_aead_rctx_sglist() local 427 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx_dma(areq); in nitrox_rfc4106_callback() local 444 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx_dma(areq); in nitrox_rfc4106_enc() local 476 struct nitrox_rfc4106_rctx *rctx = aead_request_ctx(areq); in nitrox_rfc4106_dec() local
|
/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-cmac.c | 28 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_aes_cmac_complete() local 60 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_do_cmac_update() local 185 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_aes_cmac_init() local 222 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_aes_cmac_export() local 241 struct ccp_aes_cmac_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_aes_cmac_import() local
|
H A D | ccp-crypto-sha.c | 31 struct ccp_sha_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_sha_complete() local 63 struct ccp_sha_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_do_sha_update() local 186 struct ccp_sha_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_sha_init() local 234 struct ccp_sha_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_sha_export() local 255 struct ccp_sha_req_ctx *rctx = ahash_request_ctx_dma(req); in ccp_sha_import() local
|
H A D | ccp-crypto-aes-xts.c | 65 struct ccp_aes_req_ctx *rctx = skcipher_request_ctx_dma(req); in ccp_aes_xts_complete() local 109 struct ccp_aes_req_ctx *rctx = skcipher_request_ctx_dma(req); in ccp_aes_xts_crypt() local
|
H A D | ccp-crypto-rsa.c | 47 struct ccp_rsa_req_ctx *rctx = akcipher_request_ctx_dma(req); in ccp_rsa_complete() local 68 struct ccp_rsa_req_ctx *rctx = akcipher_request_ctx_dma(req); in ccp_rsa_crypt() local
|
H A D | ccp-crypto-aes-galois.c | 80 struct ccp_aes_req_ctx *rctx = aead_request_ctx_dma(req); in ccp_aes_gcm_crypt() local
|
/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 86 struct otx2_cpt_req_ctx *rctx; in validate_hmac_cipher_null() local 131 struct otx2_cpt_req_ctx *rctx; in output_iv_copyback() local 224 struct otx2_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_ctx_hdr() local 293 struct otx2_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_input_list() local 311 struct otx2_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_output_list() local 330 struct otx2_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in skcipher_do_fallback() local 353 struct otx2_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in cpt_enc_dec() local 970 struct otx2_cpt_req_ctx *rctx = aead_request_ctx_dma(req); in create_aead_ctx_hdr() local 1061 struct otx2_cpt_req_ctx *rctx = aead_request_ctx_dma(req); in create_hmac_ctx_hdr() local 1085 struct otx2_cpt_req_ctx *rctx = aead_request_ctx_dma(req); in create_aead_input_list() local [all …]
|
/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 101 struct otx_cpt_req_ctx *rctx; in validate_hmac_cipher_null() local 150 struct otx_cpt_req_ctx *rctx; in output_iv_copyback() local 237 struct otx_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_ctx_hdr() local 307 struct otx_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_input_list() local 325 struct otx_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_output_list() local 344 struct otx_cpt_req_ctx *rctx = skcipher_request_ctx_dma(req); in cpt_enc_dec() local 888 struct otx_cpt_req_ctx *rctx = aead_request_ctx_dma(req); in create_aead_ctx_hdr() local 973 struct otx_cpt_req_ctx *rctx = aead_request_ctx_dma(req); in create_hmac_ctx_hdr() local 999 struct otx_cpt_req_ctx *rctx = aead_request_ctx_dma(req); in create_aead_input_list() local 1016 struct otx_cpt_req_ctx *rctx = aead_request_ctx_dma(req); in create_aead_output_list() local [all …]
|
/linux/drivers/crypto/gemini/ |
H A D | sl3516-ce-cipher.c | 107 struct sl3516_ce_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sl3516_ce_cipher_fallback() local 132 struct sl3516_ce_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sl3516_ce_cipher() local 282 struct sl3516_ce_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sl3516_ce_skdecrypt() local 300 struct sl3516_ce_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in sl3516_ce_skencrypt() local
|
/linux/drivers/crypto/amlogic/ |
H A D | amlogic-gxl-cipher.c | 62 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in meson_cipher_do_fallback() local 88 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in meson_cipher() local 278 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in meson_skdecrypt() local 296 struct meson_cipher_req_ctx *rctx = skcipher_request_ctx(areq); in meson_skencrypt() local
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 100 struct cvm_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_ctx_hdr() local 154 struct cvm_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_input_list() local 176 struct cvm_req_ctx *rctx = skcipher_request_ctx_dma(req); in create_output_list() local 196 struct cvm_req_ctx *rctx = skcipher_request_ctx_dma(req); in cvm_enc_dec() local
|
/linux/drivers/crypto/qce/ |
H A D | common.c | 151 struct qce_sha_reqctx *rctx = ahash_request_ctx_dma(req); in qce_setup_regs_ahash() local 317 struct qce_cipher_reqctx *rctx = skcipher_request_ctx(req); in qce_setup_regs_skcipher() local 423 struct qce_aead_reqctx *rctx = aead_request_ctx_dma(req); in qce_setup_regs_aead() local
|
/linux/drivers/crypto/caam/ |
H A D | caamalg.c | 983 struct caam_aead_req_ctx *rctx = aead_request_ctx(req); in aead_crypt_done() local 1023 struct caam_skcipher_req_ctx *rctx = skcipher_request_ctx(req); in skcipher_crypt_done() local 1312 struct caam_aead_req_ctx *rctx = aead_request_ctx(req); in aead_edesc_alloc() local 1448 struct caam_aead_req_ctx *rctx = aead_request_ctx(req); in aead_enqueue_req() local 1544 struct caam_aead_req_ctx *rctx = aead_request_ctx(req); in aead_do_one_req() local 1617 struct caam_skcipher_req_ctx *rctx = skcipher_request_ctx(req); in skcipher_edesc_alloc() local 1781 struct caam_skcipher_req_ctx *rctx = skcipher_request_ctx(req); in skcipher_do_one_req() local 1831 struct caam_skcipher_req_ctx *rctx = skcipher_request_ctx(req); in skcipher_crypt() local
|
/linux/kernel/events/ |
H A D | internal.h | 215 unsigned char rctx = interrupt_context_level(); in DEFINE_OUTPUT_COPY() local 226 static inline void put_recursion_context(u8 *recursion, unsigned char rctx) in put_recursion_context()
|
/linux/kernel/trace/ |
H A D | trace_syscalls.c | 598 int rctx; in perf_syscall_enter() local 707 int rctx; in perf_syscall_exit() local
|