Module error

Module error 

Source
Expand description

Error handling for symmetric cryptographic operations

This module provides a simplified error handling layer that uses the API error system and adds conversions for symmetric-specific error types.

Modules§

validate
Validation utilities for cryptographic operations

Enums§

Error
Primary error type for cryptographic operations

Statics§

ERROR_REGISTRY
Global error registry for recording errors during constant-time operations

Traits§

ResultExt
Extension trait for Result types
SecureErrorHandling
Trait for secure error handling to prevent timing attacks
SymmetricResultExt

Functions§

from_io_error
Convert an IO error to an API Error
from_primitive_error
Convert a PrimitiveError to an API Error
validate_format
Validate format/serialization with consistent context
validate_key_derivation
Validate key derivation parameters
validate_stream_state
Validate stream state

Type Aliases§

AeadResult
CipherResult
Result
Result type for cryptographic operations
StreamResult