PALISADE Lattice Crypto Library  1.11.9
A lattice crypto library for software engineers by software engineers.
bfvrns-ser.h
1 // @file bfvrns-ser.h - serialize BFVrns; include this in any app that needs to
2 // serialize this scheme
3 // @author TPOC: contact@palisade-crypto.org
4 //
5 // @copyright Copyright (c) 2019, New Jersey Institute of Technology (NJIT)
6 // All rights reserved.
7 // Redistribution and use in source and binary forms, with or without
8 // modification, are permitted provided that the following conditions are met:
9 // 1. Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer.
11 // 2. Redistributions in binary form must reproduce the above copyright notice,
12 // this list of conditions and the following disclaimer in the documentation
13 // and/or other materials provided with the distribution. THIS SOFTWARE IS
14 // PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
15 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
16 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
17 // EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
18 // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21 // ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 
25 #ifndef LBCRYPTO_CRYPTO_BFVRNSSER_H
26 #define LBCRYPTO_CRYPTO_BFVRNSSER_H
27 
28 #include "palisade.h"
29 #include "scheme/bfv/bfv-ser.h"
30 #include "utils/serial.h"
31 
40 
42 CEREAL_REGISTER_TYPE(
44 
45 #endif
Ideal lattice for the double-CRT representation. The implementation contains a vector of underlying n...
Definition: backend.h:73
PRE algorithms implementation for BFVrns.
Definition: bfvrns.h:708
Main public key encryption scheme for BFVrns implementation,.
Definition: bfvrns.h:865
This is the parameters class for the BFVrns encryption scheme. This scheme is also referred to as the...
Definition: bfvrns.h:74
Concrete class for the FHE Multiparty algorithms on BFVrns. This scheme is also referred to as the FV...
Definition: bfvrns.h:808
Parameter generation for BFVrns. This scheme is also referred to as the FV scheme.
Definition: bfvrns.h:521
SHE algorithms implementation for BFVrns.
Definition: bfvrns.h:617
Encryption algorithm implementation for BFVrns for the basic public key encrypt, decrypt and key gene...
Definition: bfvrns.h:564