]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Move relay_crypto_st.h to core/crypto.
authorNick Mathewson <nickm@torproject.org>
Wed, 28 May 2025 18:34:28 +0000 (14:34 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 10 Jun 2025 23:06:47 +0000 (19:06 -0400)
src/core/crypto/include.am
src/core/crypto/relay_crypto_st.h [moved from src/core/or/relay_crypto_st.h with 100% similarity]
src/core/crypto/relay_crypto_tor1.c
src/core/or/crypt_path_st.h
src/core/or/include.am
src/test/fakecircs.c
src/test/test_crypto_cgo.c

index b0c148619565eb34f4961376aebbfda385980c61..59b6fd74f84e1e7174cc7c1e0836eeda9a986ade 100644 (file)
@@ -18,5 +18,6 @@ noinst_HEADERS +=                                     \
        src/core/crypto/onion_ntor.h                    \
        src/core/crypto/onion_ntor_v3.h                 \
        src/core/crypto/relay_crypto.h                  \
+       src/core/crypto/relay_crypto_st.h               \
         src/core/crypto/relay_crypto_cgo.h              \
        src/core/crypto/relay_crypto_tor1.h
index baef282f3b859093d707c836bce7092f2328d359..c2a832c23a559e0236cdb1695a5f3f57b6d15f6e 100644 (file)
@@ -17,7 +17,7 @@
 #include "lib/cc/ctassert.h"
 
 #include "core/or/cell_st.h"
-#include "core/or/relay_crypto_st.h"
+#include "core/crypto/relay_crypto_st.h"
 
 /* Offset of digest within relay cell body for v0 cells. */
 #define V0_DIGEST_OFFSET 5
index 5f023e9f4fa1746c0c8704b89b618f56a2c7788d..b2f4cd3087653ec0e3d817764f65d67a1bacb4c6 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef CRYPT_PATH_ST_H
 #define CRYPT_PATH_ST_H
 
-#include "core/or/relay_crypto_st.h"
+#include "core/crypto/relay_crypto_st.h"
 struct crypto_dh_t;
 
 #define CRYPT_PATH_MAGIC 0x70127012u
index 9b8f2952973e08b9872848d5a03380f2d5cac4be..5f75581f09560af229f7bff0215c00bc56c38fa4 100644 (file)
@@ -105,7 +105,6 @@ noinst_HEADERS +=                                   \
        src/core/or/protover.h                          \
        src/core/or/reasons.h                           \
        src/core/or/relay.h                             \
-       src/core/or/relay_crypto_st.h                   \
        src/core/or/relay_msg.h                         \
        src/core/or/relay_msg_st.h                      \
        src/core/or/scheduler.h                         \
index e52df022d02efb99ea2a0ff7cd7868323fa6fa19..47b3ae1acafe12c40bca9920f7a3f948aa706a1e 100644 (file)
@@ -22,7 +22,7 @@
 #include "core/or/conflux.h"
 #include "core/or/crypt_path.h"
 #include "core/or/relay.h"
-#include "core/or/relay_crypto_st.h"
+#include "core/crypto/relay_crypto_st.h"
 
 #include "test/fakecircs.h"
 
index 5aea89e984395ed92f7fe0ab58f60aa199b6aab3..3e4c44d3c5944c82d587401ab6aca2ff04283851 100644 (file)
@@ -255,7 +255,7 @@ test_crypto_cgo_uiv_testvec(void *arg)
   cgo_uiv_clear(&uiv);
 }
 
-#include "core/or/relay_crypto_st.h"
+#include "core/crypto/relay_crypto_st.h"
 
 static void
 test_crypto_cgo_uiv_update_testvec(void *arg)