Add initial TKM Diffie-Hellman implementation
authorReto Buerki <reet@codelabs.ch>
Tue, 24 Jul 2012 08:40:26 +0000 (10:40 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:45 +0000 (15:23 +0100)
commitf3cd7f50dea0bfc9806322eeacfae6b19a350272
tree139d88b5ae171082299cdf5af76188675a99e1e3
parentd51305aa3f2ff5949a10612d443f0d88b51a48ee
Add initial TKM Diffie-Hellman implementation

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.
src/charon-tkm/Makefile.am
src/charon-tkm/src/charon-tkm.c
src/charon-tkm/src/tkm/tkm_diffie_hellman.c [new file with mode: 0644]
src/charon-tkm/src/tkm/tkm_diffie_hellman.h [new file with mode: 0644]
src/charon-tkm/tests/diffie_hellman_tests.c [new file with mode: 0644]
src/charon-tkm/tests/test_runner.c
src/charon-tkm/tests/test_runner.h