aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-tkm/tests/diffie_hellman_tests.c
Commit message (Collapse)AuthorAgeFilesLines
* diffie-hellman: Add a bool return value to get_my_public_value()Martin Willi2015-03-231-1/+1
|
* charon-tkm: Implement IANA DH Id to TKM Id mappingAdrian-Ken Rueegsegger2013-12-031-0/+1
| | | | | | | | | | | | | | | The TKM Diffie-Hellman plugin now maps IANA DH identifiers to TKM DH algorithm identifiers. The mapping is specified in the daemon's 'dh_mapping' section in the strongswan.conf file: dh_mapping { iana_id1 = tkm_id1 iana_id2 = tkm_id2 iana_id3 = tkm_id3 ... } Only the mapped IANA IDs are registered as supported DH groups.
* charon-tkm: Migrate tests to our own test runnerTobias Brunner2013-11-271-4/+13
| | | | | | Due to problems with the external libraries tkm_init/deinit can't be called for each test case. Because of this leak detective has to be disabled for these tests.
* Add context id getter to TKM DH implementationAdrian-Ken Rueegsegger2013-03-191-0/+1
|
* Add initial TKM Diffie-Hellman implementationReto Buerki2013-03-191-0/+58
The tkm_diffie_hellman_t plugin acquires a DH context from the Trusted Key Manager and uses it to get a DH public value and the calculated shared secret. Proper context handling is still missing though, the plugin currently uses context ID 1. The get_shared_secret function will be removed as soon as the TKM specific keymat is ready.