Lines Matching refs:tmppkey
85 EVP_PKEY *pkey = NULL, *tmppkey = NULL; in dhparam_main() local
231 tmppkey = app_paramgen(ctx, alg); in dhparam_main()
232 if (tmppkey == NULL) in dhparam_main()
237 pkey = dsa_to_dh(tmppkey); in dhparam_main()
240 EVP_PKEY_free(tmppkey); in dhparam_main()
242 pkey = tmppkey; in dhparam_main()
244 tmppkey = NULL; in dhparam_main()
266 = OSSL_DECODER_CTX_new_for_pkey(&tmppkey, in dhparam_main()
297 if (tmppkey == NULL) { in dhparam_main()
303 if (!EVP_PKEY_is_a(tmppkey, "DSA")) { in dhparam_main()
307 pkey = dsa_to_dh(tmppkey); in dhparam_main()
311 if (!EVP_PKEY_is_a(tmppkey, "DH") in dhparam_main()
312 && !EVP_PKEY_is_a(tmppkey, "DHX")) { in dhparam_main()
316 pkey = tmppkey; in dhparam_main()
317 tmppkey = NULL; in dhparam_main()
363 EVP_PKEY_free(tmppkey); in dhparam_main()