summaryrefslogtreecommitdiff
path: root/src/or/relay_crypto_st.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/relay_crypto_st.h')
-rw-r--r--src/or/relay_crypto_st.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/or/relay_crypto_st.h b/src/or/relay_crypto_st.h
deleted file mode 100644
index f186e182f0..0000000000
--- a/src/or/relay_crypto_st.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Copyright (c) 2001 Matej Pfajfar.
- * Copyright (c) 2001-2004, Roger Dingledine.
- * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
- * Copyright (c) 2007-2018, The Tor Project, Inc. */
-/* See LICENSE for licensing information */
-
-#ifndef RELAY_CRYPTO_ST_H
-#define RELAY_CRYPTO_ST_H
-
-#define crypto_cipher_t aes_cnt_cipher
-struct crypto_cipher_t;
-struct crypto_digest_t;
-
-struct relay_crypto_t {
- /* crypto environments */
- /** Encryption key and counter for cells heading towards the OR at this
- * step. */
- struct crypto_cipher_t *f_crypto;
- /** Encryption key and counter for cells heading back from the OR at this
- * step. */
- struct crypto_cipher_t *b_crypto;
-
- /** Digest state for cells heading towards the OR at this step. */
- struct crypto_digest_t *f_digest; /* for integrity checking */
- /** Digest state for cells heading away from the OR at this step. */
- struct crypto_digest_t *b_digest;
-
-};
-#undef crypto_cipher_t
-
-#endif