aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/diffie_hellman.h
Commit message (Collapse)AuthorAgeFilesLines
* diffie-hellman: Introduce an optional setter for the private valueMartin Willi2015-04-151-0/+12
| | | | This allows us to work with deterministic values for testing purposes.
* diffie-hellman: Verify public DH values in backendsMartin Willi2015-03-231-1/+10
|
* diffie-hellman: Add a bool return value to set_other_public_value()Martin Willi2015-03-231-1/+3
|
* diffie-hellman: Add a bool return value to get_my_public_value()Martin Willi2015-03-231-1/+3
|
* diffie-hellman: Use bool instead of status_t as get_shared_secret() return valueMartin Willi2015-03-231-2/+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-2/+4
| | | | | | | | | 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.
* diffie-hellman: Explicitly initialize DH exponent sizes during initializationMartin Willi2014-08-251-0/+8
| | | | | | | | To avoid any race conditions when multiple threads call and initialize diffie_hellman_get_params(), explicitly examine the optimum DH exponent size during library initialization. Fixes #655.
* Prototype implementation of IKE key exchange via NTRU encryptionAndreas Steffen2013-11-271-0/+5
|
* ecc: Added ECC Brainpool ECDH groups as registered with IANAAndreas Steffen2013-10-171-0/+5
|
* Various style, typo and whitespace correctionsAdrian-Ken Rueegsegger2012-01-131-3/+2
|
* pkcs11: Merged the ECDH into the DH implementation.Tobias Brunner2011-10-311-1/+1
|
* Added a generic function to check if a DH group is an EC groupMartin Willi2010-09-031-0/+8
|
* Added a MODP_CUSTOM DH group which takes g and p as constructor argumentsMartin Willi2010-09-021-0/+2
|
* Added support for DH groups 22, 23 and 24, patch contributed by Joy LattenMartin Willi2010-04-191-0/+8
|
* Store DH generator in a chunk, hide non-public data in a private structMartin Willi2010-04-081-20/+5
|
* Provide the Diffie Hellman parameters from a central location, so that we do ↵Tobias Brunner2010-03-091-3/+49
| | | | | | | | 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-14/+14
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* updated DoxyfileMartin Willi2009-03-241-1/+1
| | | | | | properly close all doxygen groups fixed remaining doxygen warnings
* added a MODP_NULL Diffie Hellman group to avoid calculation overhead in ↵Martin Willi2008-11-221-0/+2
| | | | load-testing
* removed superfluous get_other_public_value in diffie_hellman_t interfaceMartin Willi2008-11-041-10/+0
|
* added missing comma in enumerationAndreas Steffen2008-05-291-10/+9
|
* added the ECP groups from RFC 5114Tobias Brunner2008-05-221-1/+3
|
* added ECDH with OpenSSL (see RFC 4753)Tobias Brunner2008-05-221-1/+7
|
* merged the modularization branch (credentials) back to trunkMartin Willi2008-03-131-50/+18
|
* implemented an optional DH public value testMartin Willi2007-10-041-36/+33
| | | | some other cleanups, using RFC2631 variable names
* better split up of library files "types.h" & "definitions.h"Martin Willi2006-10-311-1/+1
| | | | | | | | | centralized all printf specifier character definitions reuse of arginfo handlers more cleanups fixed more AMD64 issues added DEBUG_LEVEL compile flag to exclude DBGn() statements
* moved typedefs to beginning of files to solve some include problemsMartin Willi2006-10-301-10/+7
| | | | | | | splitted authenticator to have a separate implementation for each auth_method_t using va_copy to clone va_lists, should fix proplems on AMD64 some other cleanups
* introduced new logging subsystem using bus:Martin Willi2006-10-181-3/+3
| | | | | | | passive listeners can register on the bus active listeners wait for signals actively multiplexing allows multiple listeners to receive debug signals a lot more...
* updated copyright informationMartin Willi2006-07-071-1/+2
|
* workaround for peers rekeying at the same timeMartin Willi2006-06-121-1/+1
| | | | | loading lifetime policies from ipsec.conf
* (no commit message)Martin Willi2006-05-101-0/+149