aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-tkm/tests/test_runner.c
Commit message (Collapse)AuthorAgeFilesLines
* charon-tkm: Migrate tests to our own test runnerTobias Brunner2013-11-271-84/+0
| | | | | | 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.
* Don't manually register kernel_netlink_netReto Buerki2013-03-191-4/+0
| | | | | | | | | Load complete kernel_netlink plugin instead. Registering the TKM specific plugins first still ensures that the correct ipsec plugin is used. Lazy initialize the RNG_WEAK plugin to avoid the unsatisfiable soft dependency on startup.
* Initialize libstrongswan in test_runner main()Reto Buerki2013-03-191-0/+41
|
* Implement TKM kernel SA database (SAD)Adrian-Ken Rueegsegger2013-03-191-0/+1
| | | | | The TKM kernel SAD (security association database) stores information about CHILD SAs.
* Add keymat IKE key derivation test caseReto Buerki2013-03-191-0/+1
|
* Implement sequence_to_chunk functionReto Buerki2013-03-191-0/+1
| | | | | This function converts a given TKM variable-length byte sequence to chunk.
* Add chunk mapAdrian-Ken Rueegsegger2013-03-191-0/+1
| | | | | This data structure allows to store mappings of chunks to ids. This will be used to map nonces to their corresponding nonce context ids.
* Add initial TKM Diffie-Hellman implementationReto Buerki2013-03-191-0/+1
| | | | | | | | | | 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.
* Initialize TKM client library in tkm.cReto Buerki2013-03-191-2/+8
|
* Introduce TKM specific charon daemon (charon-tkm)Reto Buerki2013-03-191-0/+36
Analogous to charon-nm the charon-tkm daemon is a specialized charon instance used in combination with the trusted key manager (TKM) written in Ada. The charon-tkm is basically a copy of the charon-nm code which will register it's own TKM specific plugins. The daemon binary is built using the gprbuild utility. This is needed because it uses the tkm-rpc Ada library and consequently the Ada runtime. gprbuild takes care of the complete binding and linker steps required to properly initialize the Ada runtime.