Skip to main content

Module fast

Module fast 

Source
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Β§

CreateFastClient πŸ”’
Client-handshake for CREATE_FAST.
CreateFastClientState πŸ”’
State for a CREATE_FAST client handshake.
CreateFastServer πŸ”’
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?