Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/
Dmem.c72 #define OPENSSL_MALLOC_PREFIX 8 macro
103 void *ptr = malloc(size + OPENSSL_MALLOC_PREFIX); in OPENSSL_malloc()
110 __asan_poison_memory_region(ptr, OPENSSL_MALLOC_PREFIX); in OPENSSL_malloc()
111 return ((uint8_t *)ptr) + OPENSSL_MALLOC_PREFIX; in OPENSSL_malloc()
119 void *ptr = ((uint8_t *)orig_ptr) - OPENSSL_MALLOC_PREFIX; in OPENSSL_free()
120 __asan_unpoison_memory_region(ptr, OPENSSL_MALLOC_PREFIX); in OPENSSL_free()
123 OPENSSL_cleanse(ptr, size + OPENSSL_MALLOC_PREFIX); in OPENSSL_free()
124 sdallocx(ptr, size + OPENSSL_MALLOC_PREFIX, 0 /* flags */); in OPENSSL_free()
132 void *ptr = ((uint8_t *)orig_ptr) - OPENSSL_MALLOC_PREFIX; in OPENSSL_realloc()
133 __asan_unpoison_memory_region(ptr, OPENSSL_MALLOC_PREFIX); in OPENSSL_realloc()
[all …]