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
View File
@@ -11,6 +11,7 @@
#include "or.h"
#include "config.h"
#include "crypto_util.h"
#include "hs_ident.h"
#include "hs_common.h"
#include "hs_client.h"