Home
last modified time | relevance | path

Searched refs:unprotected_ptr (Results 1 – 1 of 1) sorted by relevance

/f-stack/freebsd/contrib/libsodium/src/libsodium/sodium/
H A Dutils.c523 unsigned char *unprotected_ptr; in _sodium_malloc() local
541 unprotected_ptr = base_ptr + page_size * 2U; in _sodium_malloc()
547 sodium_mlock(unprotected_ptr, unprotected_size); in _sodium_malloc()
595 unsigned char *unprotected_ptr; in sodium_free() local
603 unprotected_ptr = _unprotected_ptr_from_user_ptr(ptr); in sodium_free()
604 base_ptr = unprotected_ptr - page_size * 2U; in sodium_free()
617 sodium_munlock(unprotected_ptr, unprotected_size); in sodium_free()
636 unsigned char *unprotected_ptr; in _sodium_mprotect() local
639 unprotected_ptr = _unprotected_ptr_from_user_ptr(ptr); in _sodium_mprotect()
640 base_ptr = unprotected_ptr - page_size * 2U; in _sodium_mprotect()
[all …]