pub fn circuit_encrypt_inbound<F, B>(
cmd: ChanCmd,
cell: &mut RelayCellBody,
relay_states: Vec<impl RelayLayer<F, B>>,
)where
F: OutboundRelayLayer,
B: InboundRelayLayer,
Available on crate feature
bench
only.Expand description
Encrypts the given RelayCellBody
in the inbound direction by all the relays in a circuit.