]> git.ipfire.org Git - thirdparty/rspamd.git/commit
Use libottery for secure random numbers.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 4 Feb 2014 16:35:58 +0000 (16:35 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 4 Feb 2014 16:37:37 +0000 (16:37 +0000)
commitff62d93b0ed2051a2ba5c9cd9c12dd80c2890765
treeaddc18a41900c3ca04cae760b10618e78c4918f1
parentd07102a78273a786b2d35d154173f2c4aff0cb27
Use libottery for secure random numbers.

Libottery itself is hosted here:
https://github.com/nmathewson/libottery

This import is a rough adoptation of libottery to use it for secure
random numbers in rspamd when needed (and in DNS resolver specifically).
This import makes the internal chacha20 code useless, hence it is
removed now.
28 files changed:
CMakeLists.txt
contrib/libottery/CMakeLists.txt [new file with mode: 0644]
contrib/libottery/Makefile [new file with mode: 0644]
contrib/libottery/chacha_krovetz.c [new file with mode: 0644]
contrib/libottery/chacha_merged.c [new file with mode: 0644]
contrib/libottery/chacha_merged_ecrypt.h [new file with mode: 0644]
contrib/libottery/ottery-internal.h [new file with mode: 0644]
contrib/libottery/ottery-threading.h [new file with mode: 0644]
contrib/libottery/ottery.c [new file with mode: 0644]
contrib/libottery/ottery.h [new file with mode: 0644]
contrib/libottery/ottery_common.h [new file with mode: 0644]
contrib/libottery/ottery_cpuinfo.c [new file with mode: 0644]
contrib/libottery/ottery_entropy.c [new file with mode: 0644]
contrib/libottery/ottery_entropy_cryptgenrandom.c [new file with mode: 0644]
contrib/libottery/ottery_entropy_egd.c [new file with mode: 0644]
contrib/libottery/ottery_entropy_rdrand.c [new file with mode: 0644]
contrib/libottery/ottery_entropy_urandom.c [new file with mode: 0644]
contrib/libottery/ottery_global.c [new file with mode: 0644]
contrib/libottery/ottery_nolock.h [new file with mode: 0644]
contrib/libottery/ottery_st.h [new file with mode: 0644]
contrib/libottery/ottery_version.h.in [new file with mode: 0644]
src/CMakeLists.txt
src/chacha_private.h [deleted file]
src/dns.c
src/dns_private.h
src/main.c
src/util.c
src/util.h