Searched refs:unprotected_size (Results 1 – 1 of 1) sorted by relevance
| /f-stack/freebsd/contrib/libsodium/src/libsodium/sodium/ |
| H A D | utils.c | 526 size_t unprotected_size; in _sodium_malloc() local 536 unprotected_size = _page_round(size_with_canary); in _sodium_malloc() 547 sodium_mlock(unprotected_ptr, unprotected_size); in _sodium_malloc() 552 memcpy(base_ptr, &unprotected_size, sizeof unprotected_size); in _sodium_malloc() 597 size_t unprotected_size; in sodium_free() local 605 memcpy(&unprotected_size, base_ptr, sizeof unprotected_size); in sodium_free() 612 if (sodium_memcmp(unprotected_ptr + unprotected_size, canary, in sodium_free() 617 sodium_munlock(unprotected_ptr, unprotected_size); in sodium_free() 637 size_t unprotected_size; in _sodium_mprotect() local 641 memcpy(&unprotected_size, base_ptr, sizeof unprotected_size); in _sodium_mprotect() [all …]
|