Expand description
Stack Buffer Utilities
This module provides fixed-size stack-allocated buffers for cryptographic operations, following libQ’s zero dynamic allocation memory model.
Modules§
- utils
- Utility functions for working with stack buffers
Structs§
- Stack
Buffer - Fixed-size stack-allocated buffer for cryptographic operations
- Uninit
Stack Buffer - Memory-efficient uninitialized stack buffer
Constants§
- CIPHERTEXT_
BUFFER_ SIZE - HASH_
BUFFER_ SIZE - IV_
BUFFER_ SIZE - KEY_
BUFFER_ SIZE - Predefined buffer sizes for common cryptographic operations
- MAX_
STACK_ BUFFER_ SIZE - Maximum size for stack-allocated buffers
- NONCE_
BUFFER_ SIZE - PLAINTEXT_
BUFFER_ SIZE - TAG_
BUFFER_ SIZE
Type Aliases§
- Ciphertext
Buffer - Hash
Buffer - IvBuffer
- KeyBuffer
- Type aliases for common buffer sizes
- Nonce
Buffer - Plaintext
Buffer - TagBuffer
- Uninit
Ciphertext Buffer - Uninit
Hash Buffer - Uninit
IvBuffer - Uninit
KeyBuffer - Type aliases for memory-efficient uninitialized buffers
- Uninit
Nonce Buffer - Uninit
Plaintext Buffer - Uninit
TagBuffer