Lines Matching defs:tfm
117 /* Get OCS ECC tfm context from kpp_request. */
535 static int kmb_ocs_ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
538 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm);
795 static int kmb_ocs_ecdh_nist_p256_init_tfm(struct crypto_kpp *tfm)
797 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm);
802 static int kmb_ocs_ecdh_nist_p384_init_tfm(struct crypto_kpp *tfm)
804 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm);
809 static void kmb_ocs_ecdh_exit_tfm(struct crypto_kpp *tfm)
811 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm);
816 static unsigned int kmb_ocs_ecdh_max_size(struct crypto_kpp *tfm)
818 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm);