Skip to main content

Module memory

Module memory 

Source
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