crypto: Refactor (P)RNG functionality into new crypto_rand module.

* ADD new /src/common/crypto_rand.[ch] module.
 * ADD new /src/common/crypto_util.[ch] module (contains the memwipe()
   function, since all crypto_* modules need this).
 * FIXES part of #24658: https://bugs.torproject.org/24658
This commit is contained in:
Isis Lovecruft
2018-04-06 21:23:29 +00:00
parent 21c81348a3
commit fe3aca1491
109 changed files with 939 additions and 657 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
#include "orconfig.h"
#include "compat.h"
#include "compat_threads.h"
#include "crypto.h"
#include "crypto_rand.h"
#include "util.h"
#include "workqueue.h"
#include "tor_queue.h"