aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/openssl/openssl_diffie_hellman.c
Commit message (Collapse)AuthorAgeFilesLines
* Define MODP_CUSTOM constructors as variadic functionsTobias Brunner2017-09-181-1/+4
| | | | | | They now match the dh_constructor_t signature. This is a follow up for the changes merged with b668bf3f9ec1 and should fix use of MODP_CUSTOM on Apple's ARM64 platform.
* openssl: Update DH API to OpenSSL 1.1.0Tobias Brunner2016-06-291-11/+41
|
* openssl: The member storing the DH exponent length has been renamed in BoringSSLTobias Brunner2016-04-151-0/+4
|
* openssl: Explicitly include openssl/bn.hTobias Brunner2015-09-161-0/+1
| | | | | | | | If OpenSSL is compiled with OPENSSL_NO_DEPRECATED some of the headers we include don't include openssl/bn.h anymore. Therefore, we have to explicitly include it ourselves where we use BN_* functions. Fixes #1113.
* openssl: Support setting private Diffie-Hellman valuesMartin Willi2015-04-151-0/+13
|
* diffie-hellman: Verify public DH values in backendsMartin Willi2015-03-231-0/+5
|
* diffie-hellman: Add a bool return value to set_other_public_value()Martin Willi2015-03-231-2/+3
|
* diffie-hellman: Add a bool return value to get_my_public_value()Martin Willi2015-03-231-1/+2
|
* diffie-hellman: Use bool instead of status_t as get_shared_secret() return valueMartin Willi2015-03-231-3/+3
| | | | | While such a change is not unproblematic, keeping status_t makes the API inconsistent once we introduce return values for the public value operations.
* crypto: Define MODP_CUSTOM outside of IKE DH rangeTobias Brunner2014-12-231-1/+1
| | | | | | | | | Before this fix it was possible to crash charon with an IKE_SA_INIT message containing a KE payload with DH group MODP_CUSTOM(1025). Defining MODP_CUSTOM outside of the two byte IKE DH identifier range prevents it from getting negotiated. Fixes CVE-2014-9221.
* openssl: Properly honor OPENSSL_NO_* definesTobias Brunner2013-01-311-0/+6
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Added support for MODP_CUSTOM to openssl pluginMartin Willi2010-09-031-5/+14
|
* Use a seperate section for each nested struct member in INIT macroMartin Willi2010-08-181-6/+8
|
* Migrated remaining classes in openssl plugin to INIT/METHOD macrosMartin Willi2010-08-101-30/+21
|
* Store DH generator in a chunk, hide non-public data in a private structMartin Willi2010-04-081-4/+3
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-2/+3
|
* Provide the Diffie Hellman parameters from a central location, so that we do ↵Tobias Brunner2010-03-091-62/+12
| | | | | | | | not have to replicate them in every plugin that implements the DH interface. The main reason for this change is that Android's libcrypto does not include the get_rfcX_prime_Y functions by default. Therefore we would have had to replicate the primes a third time.
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-23/+23
|
* dh_exponent_ansi_x9_42 is now a libstrongswan settingAndreas Steffen2009-05-261-1/+1
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* ported some hard-to-merge cherries back to trunk :-/Martin Willi2008-11-121-2/+2
| | | | | shame, svn, shame: this was ways to complicated we should consider a switch to git...
* removed superfluous get_other_public_value in diffie_hellman_t interfaceMartin Willi2008-11-041-27/+4
|
* fixed bignum export if BN_num_bytes() != DH_size()Martin Willi2008-11-041-44/+53
|
* refining changeset 4483 by introducing charon.dh_exponent_ansi_x9_42 keyAndreas Steffen2008-10-281-11/+27
|
* use 512 bits of entropy for secret DH exponentsAndreas Steffen2008-10-261-0/+1
|
* adding diffie hellman with OpenSSLTobias Brunner2008-04-291-0/+242