aboutsummaryrefslogtreecommitdiff
path: root/src/common/include.am
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2018-04-06 21:23:29 +0000
committerIsis Lovecruft <isis@torproject.org>2018-04-06 21:45:28 +0000
commitfe3aca149191f2eac410caa7113fb6f7e0804d8c (patch)
treeaabae7d1953667965ba9fd3a6fc15f0a531ac4a0 /src/common/include.am
parent21c81348a39dd235c40656c34abb76daf88e81f3 (diff)
downloadtor-fe3aca149191f2eac410caa7113fb6f7e0804d8c.tar.gz
tor-fe3aca149191f2eac410caa7113fb6f7e0804d8c.zip
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
Diffstat (limited to 'src/common/include.am')
-rw-r--r--src/common/include.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/include.am b/src/common/include.am
index 73c51ff0b2..f0cbd0e1d3 100644
--- a/src/common/include.am
+++ b/src/common/include.am
@@ -118,8 +118,10 @@ LIBOR_CRYPTO_A_SRC = \
src/common/crypto_rsa.c \
src/common/crypto_openssl_mgt.c \
src/common/crypto_pwbox.c \
+ src/common/crypto_rand.c \
src/common/crypto_s2k.c \
src/common/crypto_format.c \
+ src/common/crypto_util.c \
src/common/tortls.c \
src/common/crypto_curve25519.c \
src/common/crypto_ed25519.c
@@ -173,7 +175,9 @@ COMMONHEADERS = \
src/common/crypto_openssl_mgt.h \
src/common/crypto_rsa.h \
src/common/crypto_pwbox.h \
+ src/common/crypto_rand.h \
src/common/crypto_s2k.h \
+ src/common/crypto_util.h \
src/common/di_ops.h \
src/common/handles.h \
src/common/memarea.h \