Expand description
Implementation for the (deprecated) CreateFast handshake.
Re-exportsΒ§
use std::borrow::Borrow;πuse super::RelayHandshakeError;πuse super::RelayHandshakeResult;πuse crate::crypto::ll::kdf::Kdf;πuse crate::crypto::ll::kdf::LegacyKdf;πuse crate::util::ct::bytes_eq;πuse crate::Error;πuse crate::Result;πuse rand::CryptoRng;πuse rand::Rng;πuse tor_bytes::SecretBuf;πuse tor_error::into_internal;πuse void::Void;π
StructsΒ§
- Create
Fast πClient - Client-handshake for CREATE_FAST.
- Create
Fast πClient State - State for a CREATE_FAST client handshake.
- Create
Fast πServer - Relay-handshake for CREATE_FAST.
ConstantsΒ§
- FAST_
C_ πHANDSHAKE_ LEN - Number of bytes used for a βCREATE_FASTβ handshake by the initiator.
- FAST_
S_ πHANDSHAKE_ LEN - Number of bytes used for a βCREATE_FASTβ handshake by the responder
- SECRET_
INPUT_ πLEN - How many bytes does this handshake use for its input seed?