charon-tkm: Implement SPI generator
authorAdrian-Ken Rueegsegger <ken@codelabs.ch>
Mon, 9 Nov 2015 18:25:34 +0000 (19:25 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 11 Nov 2015 14:39:49 +0000 (15:39 +0100)
commitefff791675e22d642a63524cc37d4207675b296f
tree334ad44e256239cdf789407b17d014640e4dd1ab
parent8623ae9fc6d5bc19e98a085e2532115199645d63
charon-tkm: Implement SPI generator

The get_spi callback returns a random SPI with a label encoded according
to the spi_label and spi_mask parameters read from the strongswan.conf.
src/charon-tkm/src/tkm/tkm_spi_generator.c [new file with mode: 0644]
src/charon-tkm/src/tkm/tkm_spi_generator.h [new file with mode: 0644]