Home
last modified time | relevance | path

Searched refs:keygen_ctx (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dacvp_test.c355 EVP_PKEY_CTX *keygen_ctx = NULL; in dsa_keygen() local
358 || !TEST_ptr(keygen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_keygen()
360 || !TEST_int_gt(EVP_PKEY_keygen_init(keygen_ctx), 0) in dsa_keygen()
361 || !TEST_int_gt(EVP_PKEY_keygen(keygen_ctx, &key), 0)) in dsa_keygen()
365 EVP_PKEY_CTX_free(keygen_ctx); in dsa_keygen()
372 EVP_PKEY_CTX *paramgen_ctx = NULL, *keygen_ctx = NULL; in dsa_keygen_test() local
379 || !TEST_ptr(keygen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_keygen_test()
381 || !TEST_int_gt(EVP_PKEY_keygen_init(keygen_ctx), 0)) in dsa_keygen_test()
384 if (!TEST_int_gt(EVP_PKEY_keygen(keygen_ctx, &key), 0) in dsa_keygen_test()
404 EVP_PKEY_CTX_free(keygen_ctx); in dsa_keygen_test()