Searched refs:privkey (Results 1 – 2 of 2) sorted by relevance
99 bssl::UniquePtr<EVP_PKEY> privkey(EVP_PKEY_new()); in make_private_key() local100 if (!privkey) { in make_private_key()104 if(!EVP_PKEY_assign_RSA(privkey.get(), rsa.get())) { in make_private_key()111 return privkey; in make_private_key()114 bssl::UniquePtr<X509> make_cert(EVP_PKEY* privkey, EVP_PKEY* parent_key) { in make_cert() argument127 X509_set_pubkey(cert.get(), privkey); in make_cert()
292 std::shared_ptr<RSA> privkey = read_key_file(path); in pubkey_from_privkey() local293 if (!privkey) { in pubkey_from_privkey()296 return calculate_public_key(out, privkey.get()); in pubkey_from_privkey()