Home | History | Annotate | Download | only in ssl

Lines Matching refs:rsa

11  * apply to all code found in this distribution, be it the RC4, RSA,
152 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa)
157 if (rsa == NULL)
173 RSA_up_ref(rsa);
174 EVP_PKEY_assign_RSA(pkey,rsa);
205 (RSA_flags(pkey->pkey.rsa) & RSA_METHOD_FLAG_NO_CHECK))
233 RSA *rsa=NULL;
250 rsa=d2i_RSAPrivateKey_bio(in,NULL);
255 rsa=PEM_read_bio_RSAPrivateKey(in,NULL,
263 if (rsa == NULL)
268 ret=SSL_use_RSAPrivateKey(ssl,rsa);
269 RSA_free(rsa);
280 RSA *rsa;
283 if ((rsa=d2i_RSAPrivateKey(NULL,&p,(long)len)) == NULL)
289 ret=SSL_use_RSAPrivateKey(ssl,rsa);
290 RSA_free(rsa);
423 (RSA_flags(c->pkeys[i].privatekey->pkey.rsa) &
521 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa)
526 if (rsa == NULL)
542 RSA_up_ref(rsa);
543 EVP_PKEY_assign_RSA(pkey,rsa);
555 RSA *rsa=NULL;
572 rsa=d2i_RSAPrivateKey_bio(in,NULL);
577 rsa=PEM_read_bio_RSAPrivateKey(in,NULL,
585 if (rsa == NULL)
590 ret=SSL_CTX_use_RSAPrivateKey(ctx,rsa);
591 RSA_free(rsa);
602 RSA *rsa;
605 if ((rsa=d2i_RSAPrivateKey(NULL,&p,(long)len)) == NULL)
611 ret=SSL_CTX_use_RSAPrivateKey(ctx,rsa);
612 RSA_free(rsa);