aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/pkcs11/pkcs11_dh.c
Commit message (Collapse)AuthorAgeFilesLines
* Define MODP_CUSTOM constructors as variadic functionsTobias Brunner2017-09-181-2/+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.
* 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-7/+7
|
* 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.
* lib: All settings use configured namespaceTobias Brunner2014-02-121-1/+1
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* pkcs11: Memory leak fixed in DH/ECDH implementation.Tobias Brunner2011-11-021-0/+2
|
* pkcs11: Invalid free fixed in DH/ECDH implementation.Tobias Brunner2011-11-021-1/+4
|
* pkcs11: Add attributes to specify what we use the DH/ECDH keys for.Tobias Brunner2011-11-021-2/+10
|
* pkcs11: Merged the ECDH into the DH implementation.Tobias Brunner2011-10-311-47/+208
|
* pkcs11: Use get_ck_attribute for DH.Tobias Brunner2011-10-311-28/+6
|
* pkcs11: Specify object class and key type when deriving DH secrets.Tobias Brunner2011-10-311-0/+4
| | | | pkcs11_softtoken on OpenSolaris requires this (probably others too).
* pkcs11: Add features support.Tobias Brunner2011-10-311-14/+7
|
* pkcs11: Added support for DH.Tobias Brunner2011-10-311-0/+297