Lines Matching refs:tmpl
457 OSSL_PARAM_BLD *tmpl; in dh_pkey_export_to() local
469 tmpl = OSSL_PARAM_BLD_new(); in dh_pkey_export_to()
470 if (tmpl == NULL) in dh_pkey_export_to()
472 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_P, p) in dh_pkey_export_to()
473 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_G, g)) in dh_pkey_export_to()
476 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_Q, q)) in dh_pkey_export_to()
481 if (!OSSL_PARAM_BLD_push_long(tmpl, OSSL_PKEY_PARAM_DH_PRIV_LEN, l)) in dh_pkey_export_to()
486 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PUB_KEY, pub_key)) in dh_pkey_export_to()
491 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PRIV_KEY, in dh_pkey_export_to()
497 if ((params = OSSL_PARAM_BLD_to_param(tmpl)) == NULL) in dh_pkey_export_to()
505 OSSL_PARAM_BLD_free(tmpl); in dh_pkey_export_to()