openssl/crypto/rsa
Richard Levitte 1da12e34ed RSA, DSA, DH: Allow some given input to be NULL on already initialised keys
The diverse {RSA,DSA,DH}_set0_* functions are made to allow some
parameters to be NULL IF the corresponding numbers in the given key
structure have already been previously initialised.  Specifically,
this allows the addition of private components to be added to a key
that already has the public half, approximately like this:

    RSA_get0_key(rsa, NULL, &e, NULL);
    RSA_get0_factors(rsa, &p, &q);
    /* calculate new d */
    RSA_set0_key(rsa, NULL, NULL, d);

Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-27 15:07:53 +02:00
..
build.info Make the RSA_METHOD structure opaque 2016-04-06 16:19:20 +02:00
rsa_ameth.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00
rsa_asn1.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00
rsa_chk.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00
rsa_crpt.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00
rsa_depr.c
rsa_err.c
rsa_gen.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00
rsa_lib.c RSA, DSA, DH: Allow some given input to be NULL on already initialised keys 2016-04-27 15:07:53 +02:00
rsa_locl.h Make the RSA_METHOD structure opaque 2016-04-06 16:19:20 +02:00
rsa_meth.c Make the RSA_METHOD structure opaque 2016-04-06 16:19:20 +02:00
rsa_none.c
rsa_null.c Make the RSA_METHOD structure opaque 2016-04-06 16:19:20 +02:00
rsa_oaep.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00
rsa_ossl.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00
rsa_pk1.c
rsa_pmeth.c Make string_to_hex/hex_to_string public 2016-04-18 09:02:11 -04:00
rsa_prn.c
rsa_pss.c
rsa_saos.c
rsa_sign.c Make X509_SIG opaque. 2016-03-11 17:40:47 +00:00
rsa_ssl.c
rsa_x931.c
rsa_x931g.c Make the RSA structure opaque 2016-04-06 16:19:17 +02:00