forked from microsoft/SEAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scalingvariant.h
28 lines (22 loc) · 958 Bytes
/
scalingvariant.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#pragma once
#include "seal/context.h"
#include "seal/memorymanager.h"
#include "seal/plaintext.h"
#include "seal/util/iterator.h"
#include <cstdint>
namespace seal
{
namespace util
{
void add_plain_without_scaling_variant(
const Plaintext &plain, const SEALContext::ContextData &context_data, RNSIter destination);
void sub_plain_without_scaling_variant(
const Plaintext &plain, const SEALContext::ContextData &context_data, RNSIter destination);
void multiply_add_plain_with_scaling_variant(
const Plaintext &plain, const SEALContext::ContextData &context_data, RNSIter destination);
void multiply_sub_plain_with_scaling_variant(
const Plaintext &plain, const SEALContext::ContextData &context_data, RNSIter destination);
} // namespace util
} // namespace seal