mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
@@ -40,6 +40,8 @@ ENABLE_GCC_WARNING(redundant-decls)
|
||||
#include "torlog.h"
|
||||
#include "crypto.h"
|
||||
#include "crypto_digest.h"
|
||||
#include "crypto_rand.h"
|
||||
#include "crypto_util.h"
|
||||
#include "address.h"
|
||||
#include "util_format.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user