Skip to main content

Module security

Module security 

Source
Expand description

Security-hardened core module with panic-free production paths Security-hardened modules for B4AE

This module provides panic-free, security-hardened implementations that follow the 14 strict security requirements.

Re-exports§

pub use hardened_core::SecurityResult;
pub use hardened_core::SecurityError;
pub use hardened_core::SecurityBuffer;
pub use hardened_core::SecurityStateMachine;
pub use hardened_core::constant_time_eq_security;
pub use hardened_core::checked_add_security;
pub use hardened_core::checked_sub_security;
pub use hardened_core::checked_mul_security;
pub use hardened_core::checked_div_security;
pub use protocol::ProtocolVersion;
pub use protocol::MessageType;
pub use protocol::CipherSuite;
pub use protocol::SecurityMessageHeader;
pub use protocol::HandshakeState;
pub use protocol::SecurityHandshakeParser;
pub use crypto::SecurityKey;
pub use crypto::KeyType;
pub use crypto::SecurityHkdf;
pub use crypto::SecurityAesGcm;
pub use crypto::SecurityCompare;
pub use crypto::SecurityRandom;
pub use handshake::SecurityHybridParser;
pub use handshake::SecurityHybridCiphertext;
pub use handshake::SecurityHybridSignature;
pub use handshake::SecurityHandshakeMessageParser;
pub use handshake::SecurityHandshakeInit;
pub use handshake::SecurityHandshakeResponse;
pub use handshake::SecurityHandshakeComplete;
pub use handshake::SecurityHandshakeStateMachine;
pub use network::SecurityNetworkParser;
pub use network::SecurityNetworkMessage;
pub use network::SecurityHandshakeMessage;
pub use network::SecurityDataMessage;
pub use network::SecurityValidationSettings;
pub use network::SecurityStreamingValidator;
pub use network::MAX_MESSAGE_SIZE;
pub use network::MAX_HEADER_SIZE;
pub use network::MAX_EXTENSION_SIZE;
pub use network::MAX_HANDSHAKE_SIZE;
pub use migration_guide::migration_checklist;
pub use fuzzing::FuzzingConfig;
pub use fuzzing::MutationStrategy;
pub use fuzzing::CoverageTarget;
pub use fuzzing::SecurityFuzzingOrchestrator;
pub use fuzzing::FuzzingResults;
pub use fuzzing::FuzzingResult;
pub use fuzzing::ProtocolViolation;
pub use fuzzing::TimingLeak;
pub use fuzzing::InvalidTransition;
pub use audit::ReproducibleBuildConfig;
pub use audit::DependencyAuditConfig;
pub use audit::SecurityVulnerability;
pub use audit::DependencyAuditResult;
pub use audit::ReproducibilityReport;
pub use audit::CompleteSecurityReport;
pub use audit::ReproducibleBuildSystem;
pub use audit::DependencyAuditSystem;
pub use audit::SecurityAuditOrchestrator;

Modules§

audit
Reproducible builds and dependency audit system for B4AE
crypto
Security-hardened cryptographic operations with constant-time guarantees
fuzzing
Comprehensive fuzzing infrastructure for security-hardened B4AE modules
handshake
Security-hardened protocol handshake implementation
hardened_core
B4AE Security-Hardened Core - Panic-Free Implementation
migration_guide
Migration guide for replacing panic-prone code with security-hardened implementations
network
Security-hardened network input parsing with zero-trust validation
protocol
Security-hardened protocol implementation with panic-free parsing