Searched refs:unprotected_ptr (Results 1 – 1 of 1) sorted by relevance
523 unsigned char *unprotected_ptr; in _sodium_malloc() local541 unprotected_ptr = base_ptr + page_size * 2U; in _sodium_malloc()544 memcpy(unprotected_ptr + unprotected_size, canary, sizeof canary); in _sodium_malloc()546 _mprotect_noaccess(unprotected_ptr + unprotected_size, page_size); in _sodium_malloc()547 sodium_mlock(unprotected_ptr, unprotected_size); in _sodium_malloc()549 unprotected_ptr + _page_round(size_with_canary) - size_with_canary; in _sodium_malloc()554 assert(_unprotected_ptr_from_user_ptr(user_ptr) == unprotected_ptr); in _sodium_malloc()599 unsigned char *unprotected_ptr; in sodium_free() local607 unprotected_ptr = _unprotected_ptr_from_user_ptr(ptr); in sodium_free()608 base_ptr = unprotected_ptr - page_size * 2U; in sodium_free()[all …]