memsec
memsec copied to clipboard
Rust implementation `libsodium/utils`.
memsec
Rust implementation libsodium/utils.
- [x]
memeq/memcmp - [x]
memset/memzero - [x]
mlock/munlock - [x]
alloc/free/mprotect - [x] Linux only:
alloc_memfd_secret/free_memfd_secretfunctions similar toalloc/freeimplementation backed bymemfd_secret
ref
- Securing memory allocations
- rlibc
- aligned_alloc.rs
- cst_time_memcmp
- [memfd_secret] (https://man.archlinux.org/man/memfd_secret.2.en)