Tor  0.4.7.0-alpha-dev
Data Fields
relay_crypto_t Struct Reference

Data Fields

struct crypto_cipher_t * f_crypto
 
struct crypto_cipher_t * b_crypto
 
struct crypto_digest_tf_digest
 
struct crypto_digest_tb_digest
 
uint8_t sendme_digest [DIGEST_LEN]
 

Detailed Description

Definition at line 19 of file relay_crypto_st.h.

Field Documentation

◆ b_crypto

struct crypto_cipher_t* b_crypto

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

Definition at line 26 of file relay_crypto_st.h.

Referenced by relay_crypto_assert_ok(), and relay_crypto_init().

◆ b_digest

struct crypto_digest_t* b_digest

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

Definition at line 31 of file relay_crypto_st.h.

Referenced by relay_crypto_assert_ok(), relay_crypto_init(), relay_crypto_record_sendme_digest(), and relay_encrypt_cell_inbound().

◆ f_crypto

struct crypto_cipher_t* f_crypto

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

Definition at line 23 of file relay_crypto_st.h.

Referenced by relay_crypto_assert_ok(), and relay_crypto_init().

◆ f_digest

struct crypto_digest_t* f_digest

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

Definition at line 29 of file relay_crypto_st.h.

Referenced by relay_crypto_assert_ok(), relay_crypto_init(), and relay_crypto_record_sendme_digest().

◆ sendme_digest

uint8_t sendme_digest[DIGEST_LEN]

Digest used for the next SENDME cell if any.

Definition at line 34 of file relay_crypto_st.h.

Referenced by relay_crypto_get_sendme_digest(), and relay_crypto_record_sendme_digest().


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