aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/gmp/gmp_diffie_hellman.c
Commit message (Collapse)AuthorAgeFilesLines
* Define MODP_CUSTOM constructors as variadic functionsTobias Brunner2017-09-181-3/+8
| | | | | | 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.
* gmp: Support setting Diffie-Hellman private valuesMartin Willi2015-04-151-0/+10
|
* Wipe auxiliary key store5.3.0Andreas Steffen2015-03-281-1/+1
|
* 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-1/+2
|
* 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-4/+4
| | | | | 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.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Check rng return value when generating DH secrets and primes in gmp pluginTobias Brunner2012-07-161-2/+7
|
* Added support for MODP_CUSTOM to gmp pluginMartin Willi2010-09-021-17/+36
|
* Use a seperate section for each nested struct member in INIT macroMartin Willi2010-08-181-6/+8
|
* Migrated gmp plugin to INIT/METHOD macrosMartin Willi2010-08-101-32/+21
|
* Added support for DH groups 22, 23 and 24, patch contributed by Joy LattenMartin Willi2010-04-191-1/+11
|
* Store DH generator in a chunk, hide non-public data in a private structMartin Willi2010-04-081-11/+12
|
* Adding DBG_LIB to all calls of libstrongswan's version of DBG*.Tobias Brunner2010-04-061-4/+8
|
* Provide the Diffie Hellman parameters from a central location, so that we do ↵Tobias Brunner2010-03-091-343/+10
| | | | | | | | 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.
* Use side-channel secured mpz_powm_sec of libgmp 5, if availableMartin Willi2010-02-181-0/+4
|
* replaces four spaces by tabs, where appropriateMartin Willi2009-09-041-5/+5
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-34/+34
|
* remove whitespaceAndreas Steffen2009-06-151-1/+1
|
* 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
|
* removed superfluous get_other_public_value in diffie_hellman_t interfaceMartin Willi2008-11-041-20/+0
|
* refining changeset 4483 by introducing charon.dh_exponent_ansi_x9_42 keyAndreas Steffen2008-10-281-11/+35
|
* remove unused local DH_EXPONENT_ENTROPY definitionAndreas Steffen2008-10-271-2/+0
|
* use 512 bits of entropy for secret DH exponentsAndreas Steffen2008-10-261-1/+3
|
* fixed DH value range testingMartin Willi2008-09-171-1/+1
|
* checking mpz_export return value properlyMartin Willi2008-09-171-5/+17
| | | | fixes a potential DoS attack if a DH value of zero gets processed
* added API for random number generators, served through credential factoryMartin Willi2008-04-151-8/+6
| | | | ported randomizer_t to a rng_t on top of /dev/(u)random (plugin random)
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-0/+569