Lines Matching refs:rsapriv
495 RSA *rsapriv = NULL; in lws_x509_jwk_privkey_pem() local
558 rsapriv = EVP_PKEY_get1_RSA(pkey); in lws_x509_jwk_privkey_pem()
559 if (!rsapriv) { in lws_x509_jwk_privkey_pem()
566 RSA_get0_key(rsapriv, (const BIGNUM **)&dummy[0], /* n */ in lws_x509_jwk_privkey_pem()
569 RSA_get0_factors(rsapriv, (const BIGNUM **)&dummy[4], /* p */ in lws_x509_jwk_privkey_pem()
572 dummy[0] = rsapriv->n; in lws_x509_jwk_privkey_pem()
573 dummy[1] = rsapriv->e; in lws_x509_jwk_privkey_pem()
574 dummy[4] = rsapriv->p; in lws_x509_jwk_privkey_pem()
575 dummy[5] = rsapriv->q; in lws_x509_jwk_privkey_pem()
576 mpi = rsapriv->d; in lws_x509_jwk_privkey_pem()
646 RSA_free(rsapriv); in lws_x509_jwk_privkey_pem()