summaryrefslogtreecommitdiffstats
path: root/src/openvpn/init.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2012-04-02 09:28:02 +0200
committerDavid Sommerseth <davids@redhat.com>2012-04-27 23:31:44 +0200
commit6efeaa2e4462bc10f395d8aceed363c3e77b35a3 (patch)
tree48732b5de9c86e8989dfeca0756b4162a3072088 /src/openvpn/init.c
parent4e846b39a35b5f9501e4283be0af620d7c9c8b5c (diff)
downloadopenvpn-6efeaa2e4462bc10f395d8aceed363c3e77b35a3.tar.gz
openvpn-6efeaa2e4462bc10f395d8aceed363c3e77b35a3.tar.xz
openvpn-6efeaa2e4462bc10f395d8aceed363c3e77b35a3.zip
Added support for new PolarSSL 1.1 RNG
This patch, while retaining PolarSSL 1.0 support, introduces the PolarSSL 1.1 DRBG. This RNG adds a number of features, including support for personalisation strings and multiple entropy sources. Personalisation strings have been implemented, based on PID, program name, place within memory, and a hash of the user's certificate. The entropy sources used are the platform default ones. Which ones these are depends on how PolarSSL was built, but usually this includes: - /dev/urandom or the Windows CryptoAPI RNG - the HAVEGE RNG - the output of PolarSSL's hardclock() call (usually RDTSC) Finally, this patch moves to only one instance of the RNG per OpenVPN instance, instead of one per keystate Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Signed-off-by: Eelse-jan Stutvoet <stutvoet@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Message-Id: 1333351687-3732-1-git-send-email-dejong@fox-it.com URL: http://article.gmane.org/gmane.network.openvpn.devel/6210 Signed-off-by: David Sommerseth <davids@redhat.com>
Notes
Notes: This patch was ACKed by James Yonan in an IRC meeting March 29, 2012 under the condition that PolarSSL 1.0 and havege support is removed later on. Currently, the meeting minutes have not been made public. (David Sommerseth, Fri Apr 27 21:31:03 UTC 2012)
Diffstat (limited to 'src/openvpn/init.c')
0 files changed, 0 insertions, 0 deletions