Tor 0.4.9.2-alpha-dev
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
tor1_crypt_t Struct Reference

Data Fields

struct aes_cnt_cipher_tf_crypto
 
struct aes_cnt_cipher_tb_crypto
 
struct crypto_digest_tf_digest
 
struct crypto_digest_tb_digest
 
uint8_t sendme_digest [DIGEST_LEN]
 

Detailed Description

Definition at line 18 of file tor1_crypt_st.h.

Field Documentation

◆ b_crypto

struct aes_cnt_cipher_t* b_crypto

Encryption key and counter for cells heading back from the OR at this step.

Definition at line 24 of file tor1_crypt_st.h.

Referenced by tor1_crypt_assert_ok(), tor1_crypt_client_backward(), tor1_crypt_init(), tor1_crypt_relay_backward(), and tor1_crypt_relay_originate().

◆ b_digest

struct crypto_digest_t* b_digest

Digest state for cells heading away from the OR at this step.

Definition at line 29 of file tor1_crypt_st.h.

Referenced by tor1_crypt_assert_ok(), tor1_crypt_init(), and tor1_crypt_relay_originate().

◆ f_crypto

struct aes_cnt_cipher_t* f_crypto

Encryption key and counter for cells heading towards the OR at this step.

Definition at line 21 of file tor1_crypt_st.h.

Referenced by tor1_crypt_assert_ok(), tor1_crypt_client_forward(), tor1_crypt_client_originate(), tor1_crypt_init(), and tor1_crypt_relay_forward().

◆ f_digest

struct crypto_digest_t* f_digest

Digest state for cells heading towards the OR at this step.

Definition at line 27 of file tor1_crypt_st.h.

Referenced by tor1_crypt_assert_ok(), tor1_crypt_client_originate(), and tor1_crypt_init().

◆ sendme_digest

uint8_t sendme_digest[DIGEST_LEN]

Digest used for the next SENDME cell if any.

This digest is updated every time a cell is originated or recognized in either direction. Any operation with this object may invalidate this digest.

Definition at line 36 of file tor1_crypt_st.h.

Referenced by tor1_crypt_client_originate(), and tor1_crypt_relay_originate().


The documentation for this struct was generated from the following file: