Lines Matching refs:OPENSSL_MALLOC_PREFIX
72 #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()
135 __asan_poison_memory_region(ptr, OPENSSL_MALLOC_PREFIX); in OPENSSL_realloc()