Module pallas_crypto::memsec
source · Expand description
Memsec utility functions
Most of the types defined here implements Scrubbed
trait.
Traits
- Types implementing this can be scrubbed, the memory is cleared and erased with a dummy value.
Functions
- Constant time comparison
- compare the equality of the 2 given arrays, constant in time
- Perform a secure memset. This function is guaranteed not to be elided or reordered.