Lines Matching defs:custom_pmeth
2360 static EVP_PKEY_METHOD *custom_pmeth;
4421 static EVP_PKEY_METHOD *custom_pmeth = NULL;
4605 || !TEST_ptr(custom_pmeth = EVP_PKEY_meth_new(id, orig_flags)))
4609 EVP_PKEY_meth_set_digestsign(custom_pmeth, custom_pmeth_digestsign);
4611 EVP_PKEY_meth_set_derive(custom_pmeth, NULL, custom_pmeth_derive);
4613 EVP_PKEY_meth_set_sign(custom_pmeth, NULL, custom_pmeth_sign);
4616 EVP_PKEY_meth_set_init(custom_pmeth, custom_pmeth_init);
4617 EVP_PKEY_meth_set_cleanup(custom_pmeth, custom_pmeth_cleanup);
4618 EVP_PKEY_meth_set_copy(custom_pmeth, custom_pmeth_copy);
4620 EVP_PKEY_meth_set_ctrl(custom_pmeth, custom_pmeth_ctrl, NULL);
4621 if (!TEST_true(EVP_PKEY_meth_add0(custom_pmeth)))
4667 EVP_PKEY_meth_remove(custom_pmeth);
4668 EVP_PKEY_meth_free(custom_pmeth);
4669 custom_pmeth = NULL;
5433 custom_pmeth = EVP_PKEY_meth_new(0xdefaced, 0);
5434 if (!TEST_ptr(custom_pmeth))
5436 EVP_PKEY_meth_set_check(custom_pmeth, pkey_custom_check);
5437 EVP_PKEY_meth_set_public_check(custom_pmeth, pkey_custom_pub_check);
5438 EVP_PKEY_meth_set_param_check(custom_pmeth, pkey_custom_param_check);
5439 if (!TEST_int_eq(EVP_PKEY_meth_add0(custom_pmeth), 1))