seal_fhe 0.8.1

This crate contains Rust bindings for Microsoft's SEAL Fully Homomorphic Encryption (FHE) library.
Documentation
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

#pragma once

///////////////////////////////////////////////////////////////////////////
//
// This API is provided as a simple interface for Microsoft SEAL library
// that can be PInvoked by .Net code.
//
///////////////////////////////////////////////////////////////////////////

#include "seal/c/defines.h"
#include <stdint.h>

SEAL_C_FUNC MemoryManager_GetPool1(int prof_opt, bool clear_on_destruction, void **pool_handle);

SEAL_C_FUNC MemoryManager_GetPool2(void **pool_handle);

SEAL_C_FUNC MemoryManager_SwitchProfile(void *new_profile);

SEAL_C_FUNC MMProf_CreateGlobal(void **profile);

SEAL_C_FUNC MMProf_CreateFixed(void *pool, void **profile);

SEAL_C_FUNC MMProf_CreateNew(void **profile);

SEAL_C_FUNC MMProf_CreateThreadLocal(void **profile);

SEAL_C_FUNC MMProf_GetPool(void *thisptr, void **pool_handle);

SEAL_C_FUNC MMProf_Destroy(void *thisptr);