openssl/crypto/dh
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 DH_METHOD opaque 2016-04-09 10:10:55 +01:00
dh192.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh512.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh1024.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh2048.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh4096.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh_ameth.c Make DH opaque 2016-04-09 10:10:55 +01:00
dh_asn1.c Make DH opaque 2016-04-09 10:10:55 +01:00
dh_check.c Make DH opaque 2016-04-09 10:10:55 +01:00
dh_depr.c Use NON_EMPTY_TRANSLATION_UNIT, consistently. 2016-02-09 20:13:29 -05:00
dh_err.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
dh_gen.c Make DH opaque 2016-04-09 10:10:55 +01:00
dh_kdf.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
dh_key.c Make DH opaque 2016-04-09 10:10:55 +01:00
dh_lib.c RSA, DSA, DH: Allow some given input to be NULL on already initialised keys 2016-04-27 15:07:53 +02:00
dh_locl.h Add documentation for following DH and DH_METHOD opacity 2016-04-09 10:10:55 +01:00
dh_meth.c Make DH_METHOD opaque 2016-04-09 10:10:55 +01:00
dh_pmeth.c Make DH opaque 2016-04-09 10:10:55 +01:00
dh_prn.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
dh_rfc5114.c Make DH opaque 2016-04-09 10:10:55 +01:00
example Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
generate Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00