Add nonce generator interface
authorAdrian-Ken Rueegsegger <ken@codelabs.ch>
Wed, 2 May 2012 15:49:26 +0000 (17:49 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 18 May 2012 06:15:40 +0000 (08:15 +0200)
commite2fc09c186c367b35096ca0c13a0de3ab380da14
tree63bfead78b0d6b096b77bc43bd365d7f6fa97efe
parent80c5b17d1af10bf2eeba55e1caba770cb3dcf734
Add nonce generator interface

Nonce generators (nonce_gen_t) can be used to get or allocate nonces.

Users can request nonce generators from the crypto factory while nonce
plugins register/remove themselves to/from the crypto factory.
src/libstrongswan/Makefile.am
src/libstrongswan/crypto/crypto_factory.c
src/libstrongswan/crypto/crypto_factory.h
src/libstrongswan/crypto/nonce_gen.h [new file with mode: 0644]
src/libstrongswan/plugins/plugin_feature.c
src/libstrongswan/plugins/plugin_feature.h