opensslAllocator top-level constant

OpenSslAllocator const opensslAllocator

An ffi.Allocator backed by BoringSSL's bssl.OPENSSL_malloc and bssl.OPENSSL_free.

BoringSSL's bssl.OPENSSL_free automatically scrubs every allocation with bssl.OPENSSL_cleanse before returning memory to the OS heap.

Implementation

const OpenSslAllocator opensslAllocator = OpenSslAllocator._();