Intel HEXL
Intel Homomorphic Encryption Acceleration Library, accelerating the modular arithmetic operations used in homomorphic encryption.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
eltwise-reduce-mod.hpp
Go to the documentation of this file.
1 // Copyright (C) 2020-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 
4 #pragma once
5 
6 #include <stdint.h>
7 
8 namespace intel {
9 namespace hexl {
10 
24 void EltwiseReduceMod(uint64_t* result, const uint64_t* operand, uint64_t n,
25  uint64_t modulus, uint64_t input_mod_factor,
26  uint64_t output_mod_factor);
27 
28 } // namespace hexl
29 } // namespace intel
void EltwiseReduceMod(uint64_t *result, const uint64_t *operand, uint64_t n, uint64_t modulus, uint64_t input_mod_factor, uint64_t output_mod_factor)
Performs elementwise modular reduction.
Definition: eltwise-add-mod.hpp:8