Skip to main content

Crate reishi_handshake

Crate reishi_handshake 

Source
Expand description

§reishi-handshake

A pure, sans-IO implementation of the Noise IK handshake pattern with a fixed ciphersuite: Noise_IK_25519_ChaChaPoly_BLAKE2s.

§Security Properties

  • X25519 low-order point / identity element rejection
  • All key material zeroized on drop
  • Constant-time cryptographic comparisons
  • No recursive parsing, no panics on network input
  • Fixed ciphersuite (no algorithm negotiation)

Re-exports§

pub use error::Error;
pub use keys::KeyPair;
pub use keys::PublicKey;
pub use keys::StaticSecret;

Modules§

crypto
Cryptographic primitives for the Noise IK handshake.
error
keys

Structs§

Handshake
A Noise IK handshake state machine.
TransportState
Post-handshake transport encryption state.

Enums§

HandshakeAction
The current action the caller must take to advance the handshake.

Constants§

PROTOCOL_NAME
The Noise protocol name for the fixed ciphersuite.