summaryrefslogtreecommitdiff
path: root/src/common/crypto_s2k.c
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2018-05-18 10:47:35 +0200
committerFernando Fernandez Mancera <ffmancera@riseup.net>2018-05-18 11:04:31 +0200
commitd38e7ddf5b930ae7e4d3a5da63cfc32d92a8dfa7 (patch)
tree297cffabe4c49ddb922af20d8f1b681e4418ebf7 /src/common/crypto_s2k.c
parent827b85e9070950c524546adb40541c7c6d3dbcb2 (diff)
downloadtor-d38e7ddf5b930ae7e4d3a5da63cfc32d92a8dfa7.tar.gz
tor-d38e7ddf5b930ae7e4d3a5da63cfc32d92a8dfa7.zip
Refactor crypto.[ch] into smaller HKDF module.
Add two new files (crypto_hkdf.c, crypto_hkdf.h) as new module of crypto.[ch]. This new module includes all functions and dependencies related to HKDF operations. Those have been removed from crypto.[ch]. Follows #24658. Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Diffstat (limited to 'src/common/crypto_s2k.c')
-rw-r--r--src/common/crypto_s2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto_s2k.c b/src/common/crypto_s2k.c
index 47cb62d076..2977a2d127 100644
--- a/src/common/crypto_s2k.c
+++ b/src/common/crypto_s2k.c
@@ -15,7 +15,7 @@
#include "compat.h"
#include "crypto.h"
#include "crypto_digest.h"
-#include "crypto_dh.h"
+#include "crypto_hkdf.h"
#include "crypto_rand.h"
#include "crypto_s2k.h"
#include "crypto_util.h"