Intel HE Acceleration Library for FPGAs
Intel Homomorphic Encryption Acceleration Library for FPGAs, accelerating the modular arithmetic operations used in homomorphic encryption on Intel FPGAs.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ntt_int.h
Go to the documentation of this file.
1 // Copyright (C) 2020-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 
4 #ifndef __NTT_INT_H__
5 #define __NTT_INT_H__
6 
7 #include <cstdint>
8 
9 namespace intel {
10 namespace hexl {
11 namespace fpga {
12 
18 void set_worksize_NTT_int(uint64_t n);
19 
31 void NTT_int(uint64_t* coeff_poly, const uint64_t* root_of_unity_powers,
32  const uint64_t* precon_root_of_unity_powers,
33  uint64_t coeff_modulus, uint64_t n);
34 
40 bool NTTCompleted_int();
41 
42 } // namespace fpga
43 } // namespace hexl
44 } // namespace intel
45 
46 #endif
bool NTTCompleted_int()
NTTCompleted_int Called after completion of the Number Theoretic Transform. Internal implementation...
void set_worksize_NTT_int(uint64_t n)
set_worksize_NTT_int Sets the work size for NTT. Internal implementation.
void NTT_int(uint64_t *coeff_poly, const uint64_t *root_of_unity_powers, const uint64_t *precon_root_of_unity_powers, uint64_t coeff_modulus, uint64_t n)
NTT_int Calls the Number Theorectic Transform. Internal implementation.