Intel HEXL
Intel Homomorphic Encryption Acceleration Library, accelerating the modular arithmetic operations used in homomorphic encryption.
intel-hexl
include
intel-hexl
eltwise
eltwise-fma-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
22
void
EltwiseFMAMod
(uint64_t* result,
const
uint64_t* arg1, uint64_t arg2,
23
const
uint64_t* arg3, uint64_t n, uint64_t modulus,
24
uint64_t input_mod_factor);
25
26
}
// namespace hexl
27
}
// namespace intel
intel::hexl::EltwiseFMAMod
void EltwiseFMAMod(uint64_t *result, const uint64_t *arg1, uint64_t arg2, const uint64_t *arg3, uint64_t n, uint64_t modulus, uint64_t input_mod_factor)
Computes fused multiply-add (arg1 * arg2 + arg3) mod modulus element-wise, broadcasting scalars to ve...
intel
Definition:
eltwise-add-mod.hpp:8
Generated by
1.8.17