Lines Matching defs:rsa
777 lws_tls_openssl_rsa_new_key(RSA **rsa, int bits)
790 *rsa = RSA_new();
791 if (!*rsa) {
796 n = RSA_generate_key_ex(*rsa, bits, bn, NULL);
801 RSA_free(*rsa);
802 *rsa = NULL;
810 RSA *rsa;
843 if (lws_tls_openssl_rsa_new_key(&vhost->tls.ss->rsa, 4096))
846 if (!EVP_PKEY_assign_RSA(vhost->tls.ss->pkey, vhost->tls.ss->rsa))
922 RSA_free(vhost->tls.ss->rsa);