Lines Matching defs:tctx
203 static struct ocs_ecc_dev *kmb_ocs_ecc_find_dev(struct ocs_ecc_ctx *tctx) in kmb_ocs_ecc_find_dev()
538 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_set_secret() local
575 static int kmb_ecc_do_shared_secret(struct ocs_ecc_ctx *tctx, in kmb_ecc_do_shared_secret()
658 static int kmb_ecc_do_public_key(struct ocs_ecc_ctx *tctx, in kmb_ecc_do_public_key()
709 struct ocs_ecc_ctx *tctx = kmb_ocs_ecc_tctx(req); in kmb_ocs_ecc_do_one_request() local
725 struct ocs_ecc_ctx *tctx = kmb_ocs_ecc_tctx(req); in kmb_ocs_ecdh_generate_public_key() local
750 struct ocs_ecc_ctx *tctx = kmb_ocs_ecc_tctx(req); in kmb_ocs_ecdh_compute_shared_secret() local
776 static int kmb_ecc_tctx_init(struct ocs_ecc_ctx *tctx, unsigned int curve_id) in kmb_ecc_tctx_init()
797 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p256_init_tfm() local
804 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p384_init_tfm() local
811 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_exit_tfm() local
818 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_max_size() local