Expand description
Secure memory handling and zeroization
This module provides secure memory management functions including:
- Automatic zeroization of sensitive data
- Secure memory allocation and deallocation
- Memory barrier operations
- Secure memory copying and comparison
Functions§
- memory_
barrier - Memory barrier
- secure_
alloc - Secure memory allocation with enhanced security features
- secure_
alloc_ aligned - Secure memory allocation with custom alignment
- secure_
compare - Secure memory comparison
- secure_
compare_ slice - Secure memory comparison for slices
- secure_
copy - Secure memory copy
- secure_
copy_ slice - Secure memory copy for slices
- secure_
dealloc ⚠ - Secure memory deallocation with enhanced security
- secure_
dealloc_ ⚠aligned - Secure memory deallocation with custom alignment
- secure_
fill - Secure memory fill
- secure_
fill_ slice - Secure memory fill for slices
- secure_
move - Secure memory move
- secure_
move_ slice - Secure memory move for slices
- secure_
xor - Secure memory XOR
- secure_
xor_ slice - Secure memory XOR for slices
- secure_
zero - Secure memory zeroization
- secure_
zero_ slice - Secure zeroization of a slice