Commit ed155ae6 authored by Yuriy Polyakov's avatar Yuriy Polyakov

Updated readme and comments

parent d84f815b
Pipeline #96033251 canceled with stages
......@@ -18,6 +18,7 @@ File Listing
------------
* Demo programs
- [demo-advanced-real-numbers.cpp](src/pke/demo/demo-advanced-real-numbers.cpp): shows several advanced examples of approximate homomorphic encryption using CKKS
- [demo-automorphism.cpp](src/pke/demo/demo-automorphism.cpp): demonstrates use of EvalAutomorphism for different schemes, plaintext encodings, and cyclotomic rings
- [demo-bfvrns.cpp](src/pke/demo/demo-bfvrns.cpp): demonstrates use of the BFVrns scheme for basic SHE operations
- [demo-cross-correlation-bfvrns.cpp](src/pke/demo/demo-cross-correlation-bfrns.cpp): a demo program that demonstrates the use of serialization, DCRT, power-of-two-cyclotomics, and packed encoding for an application that computes cross-correlation using inner products.
......@@ -32,7 +33,8 @@ File Listing
- [demo-pke.cpp](src/pke/demo/demo-pke.cpp): demonstrates use of encryption across several schemes
- [demo-pre.cpp](src/pke/demo/demo-pre.cpp): demonstrates use of proxy re-encryption across several schemes
- [demo-she.cpp](src/pke/demo/demo-she.cpp): demonstrates SHE operations using several schemes
- [demo-simple-example.cpp](src/pke/demo/demo-simple-example.cpp): simple demo showing homomorphic additions, multiplications, and rotations
- [demo-simple-example-serial.cpp](src/pke/demo/demo-simple-example-serial.cpp): simple demo showing typical serialization/deserialization calls for a prototype computing homomorphic additions, multiplications, and rotations
- [demo-simple-example.cpp](src/pke/demo/demo-simple-example.cpp): simple demo showing homomorphic additions, multiplications, and rotations for vectors of integers using BFVrns
- [demo-simple-example-serial.cpp](src/pke/demo/demo-simple-example-serial.cpp): simple demo showing typical serialization/deserialization calls for a prototype computing homomorphic additions, multiplications, and rotations for vectors of integers using BFVrns
- [demo-simple-real-numbers.cpp](src/pke/demo/demo-simple-real-numbers): simple demo showing homomorphic additions, multiplications, and rotations for vectors of real numbers using CKKS
- [run-bfvrns.cpp](src/pke/demo/run-bfvrns.cpp): demonstrates benchmarking of RNS operations for BFVrns
- [run-bfvrns-b.cpp](src/pke/demo/run-bfvrns-b.cpp): demonstrates benchmarking of RNS operations for BFVrnsB
......@@ -39,12 +39,4 @@ extern template class lbcrypto::LPAlgorithmSHECKKS<lbcrypto::DCRTPoly>;
CEREAL_REGISTER_TYPE(lbcrypto::LPCryptoParametersCKKS<lbcrypto::DCRTPoly>);
CEREAL_REGISTER_TYPE(lbcrypto::LPPublicKeyEncryptionSchemeCKKS<lbcrypto::DCRTPoly>);
//CEREAL_REGISTER_TYPE(lbcrypto::LPAlgorithmCKKS<lbcrypto::DCRTPoly>);
//CEREAL_REGISTER_TYPE(lbcrypto::LPAlgorithmPRECKKS<lbcrypto::DCRTPoly>);
//CEREAL_REGISTER_TYPE(lbcrypto::LPAlgorithmSHECKKS<lbcrypto::DCRTPoly>);
//CEREAL_REGISTER_TYPE(lbcrypto::LPAlgorithmParamsGenCKKS<lbcrypto::DCRTPoly>);
//CEREAL_REGISTER_TYPE(lbcrypto::LPAlgorithmMultipartyCKKS<lbcrypto::DCRTPoly>);
//CEREAL_REGISTER_TYPE(lbcrypto::LPLeveledSHEAlgorithmCKKS<lbcrypto::DCRTPoly>);
//CEREAL_REGISTER_TYPE(lbcrypto::LPFHEAlgorithmCKKS<lbcrypto::DCRTPoly>);
#endif
......@@ -22,19 +22,6 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/*
This code implements the CKKS homomorphic encryption scheme.
License Information:
Copyright (c) 2015, New Jersey Institute of Technology (NJIT)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef LBCRYPTO_CRYPTO_CKKS_C
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment