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§
- Result
Ext - Extension trait for Result types
- Secure
Error Handling - Trait for secure error handling to prevent timing attacks
- Symmetric
Result Ext
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§
- Aead
Result - Cipher
Result - Result
- Result type for cryptographic operations
- Stream
Result