Intel HEXL
Intel Homomorphic Encryption Acceleration Library, accelerating the modular arithmetic operations used in homomorphic encryption.
intel-hexl
include
intel-hexl
eltwise
eltwise-cmp-add.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
#include "
intel-hexl/util/util.hpp
"
9
10
namespace
intel
{
11
namespace
hexl {
12
22
void
EltwiseCmpAdd
(uint64_t* result,
const
uint64_t* operand1,
CMPINT
cmp,
23
uint64_t bound, uint64_t diff, uint64_t n);
24
25
}
// namespace hexl
26
}
// namespace intel
intel::hexl::EltwiseCmpAdd
void EltwiseCmpAdd(uint64_t *result, const uint64_t *operand1, CMPINT cmp, uint64_t bound, uint64_t diff, uint64_t n)
Computes element-wise conditional addition.
intel::hexl::CMPINT
CMPINT
Represents binary operations between two boolean values.
Definition:
util.hpp:14
intel
Definition:
eltwise-add-mod.hpp:8
util.hpp
Generated by
1.8.17