Skip to main content

CgoRelayCrypto

Type Alias CgoRelayCrypto 

Source
pub(crate) type CgoRelayCrypto = CryptStatePair<Aes128, Aes128Enc>;
Expand description

Counter galois onion relay crypto.

Aliased Type§

pub(crate) struct CgoRelayCrypto {
    outbound: CryptState<Aes128, Aes128Enc>,
    inbound: CryptState<Aes128, Aes128Enc>,
    binding: CircuitBinding,
}

Fields§

§outbound: CryptState<Aes128, Aes128Enc>

State for the outbound direction (away from client)

§inbound: CryptState<Aes128, Aes128Enc>

State for the inbound direction (towards client)

§binding: CircuitBinding

Circuit binding information.