Use crypto_zalloc for internal structure allocations.