tor  0.4.2.0-alpha-dev
relay_crypto_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef RELAY_CRYPTO_ST_H
8 #define RELAY_CRYPTO_ST_H
9 
10 #define crypto_cipher_t aes_cnt_cipher
11 struct crypto_cipher_t;
12 struct crypto_digest_t;
13 
15  /* crypto environments */
18  struct crypto_cipher_t *f_crypto;
21  struct crypto_cipher_t *b_crypto;
22 
24  struct crypto_digest_t *f_digest; /* for integrity checking */
27 
30 };
31 #undef crypto_cipher_t
32 
33 #endif /* !defined(RELAY_CRYPTO_ST_H) */
struct crypto_cipher_t * f_crypto
uint8_t sendme_digest[DIGEST_LEN]
struct crypto_digest_t * b_digest
#define DIGEST_LEN
Definition: digest_sizes.h:20
struct crypto_cipher_t * b_crypto
struct crypto_digest_t * f_digest