Use nonce_gen instead of rng to generate nonces
authorAdrian-Ken Rueegsegger <ken@codelabs.ch>
Wed, 2 May 2012 15:49:41 +0000 (17:49 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 18 May 2012 06:15:41 +0000 (08:15 +0200)
commitafaf1bdf5ee803f2320d2786a9b64be6deda2181
tree8e255486eb0c06180b17e4cfcda8c7b1422aa7be
parent5338fe5e79a6a2fe90691c579b237168c6b0f252
Use nonce_gen instead of rng to generate nonces

Replace usage of rng plugin with nonce generator to create nonces in
IKE_INIT, CHILD_CREATE and QUICK_MODE tasks and the IKEv1 phase 1 helper.
src/libcharon/sa/ikev1/phase1.c
src/libcharon/sa/ikev1/tasks/quick_mode.c
src/libcharon/sa/ikev2/tasks/child_create.c
src/libcharon/sa/ikev2/tasks/ike_init.c