Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define MODP_CUSTOM constructors as variadic functions | Tobias Brunner | 2017-09-18 | 1 | -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.0 | Tobias Brunner | 2016-06-29 | 1 | -11/+41 |
| | |||||
* | openssl: The member storing the DH exponent length has been renamed in BoringSSL | Tobias Brunner | 2016-04-15 | 1 | -0/+4 |
| | |||||
* | openssl: Explicitly include openssl/bn.h | Tobias Brunner | 2015-09-16 | 1 | -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 values | Martin Willi | 2015-04-15 | 1 | -0/+13 |
| | |||||
* | diffie-hellman: Verify public DH values in backends | Martin Willi | 2015-03-23 | 1 | -0/+5 |
| | |||||
* | diffie-hellman: Add a bool return value to set_other_public_value() | Martin Willi | 2015-03-23 | 1 | -2/+3 |
| | |||||
* | diffie-hellman: Add a bool return value to get_my_public_value() | Martin Willi | 2015-03-23 | 1 | -1/+2 |
| | |||||
* | diffie-hellman: Use bool instead of status_t as get_shared_secret() return value | Martin Willi | 2015-03-23 | 1 | -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 range | Tobias Brunner | 2014-12-23 | 1 | -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_* defines | Tobias Brunner | 2013-01-31 | 1 | -0/+6 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Added support for MODP_CUSTOM to openssl plugin | Martin Willi | 2010-09-03 | 1 | -5/+14 |
| | |||||
* | Use a seperate section for each nested struct member in INIT macro | Martin Willi | 2010-08-18 | 1 | -6/+8 |
| | |||||
* | Migrated remaining classes in openssl plugin to INIT/METHOD macros | Martin Willi | 2010-08-10 | 1 | -30/+21 |
| | |||||
* | Store DH generator in a chunk, hide non-public data in a private struct | Martin Willi | 2010-04-08 | 1 | -4/+3 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -2/+3 |
| | |||||
* | Provide the Diffie Hellman parameters from a central location, so that we do ↵ | Tobias Brunner | 2010-03-09 | 1 | -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 Willi | 2009-09-04 | 1 | -23/+23 |
| | |||||
* | dh_exponent_ansi_x9_42 is now a libstrongswan setting | Andreas Steffen | 2009-05-26 | 1 | -1/+1 |
| | |||||
* | removing svn keyword $Id$ from all files | Tobias Brunner | 2009-04-30 | 1 | -2/+0 |
| | |||||
* | ported some hard-to-merge cherries back to trunk :-/ | Martin Willi | 2008-11-12 | 1 | -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 interface | Martin Willi | 2008-11-04 | 1 | -27/+4 |
| | |||||
* | fixed bignum export if BN_num_bytes() != DH_size() | Martin Willi | 2008-11-04 | 1 | -44/+53 |
| | |||||
* | refining changeset 4483 by introducing charon.dh_exponent_ansi_x9_42 key | Andreas Steffen | 2008-10-28 | 1 | -11/+27 |
| | |||||
* | use 512 bits of entropy for secret DH exponents | Andreas Steffen | 2008-10-26 | 1 | -0/+1 |
| | |||||
* | adding diffie hellman with OpenSSL | Tobias Brunner | 2008-04-29 | 1 | -0/+242 |