GGitHubBinfhe extended (#873)
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Srv fhew pke changes (#295) * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * Edit readme for new example threshold-fhe-5p (#296) * updated readme for new example threshold-fhe-5p * fixed link in readme * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * Fixed compiler errors in advanced-real-numbers.cpp (#299) Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> * added check for batch size to be a power of two (#300) Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> * fixed yuriy review comments * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * fixed yuriy review comments * fixed some typos and comments * fixed review comments * small edits to binfhe/examples/readme and docs/sphinx_rsts/modules/binfhe.rst --------- Co-authored-by: dsuponitskiy <dmitriy.suponitskiy@gmail.com> Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> Co-authored-by: Andrey Kim <kimandr.kz@gmail.com> Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> | 3 年前 | |
Binfhe extended (#873) * added move constructor for RLWECiphertextImpl * add initial extended functionality to EvalBinGate and Bootstrapping * additional extended functionality; bug fix for pk encryption; performance optimizations * unit tests for extended functionality * bug fix for BinFHEScheme::BootstrapFunc() * update to binfhe-paramsets benchmark * update to operator<<(std::ostream& s, BINFHE_OUTPUT f); * limit use of FRESH BINFHE_OUTPUT * limit use of FRESH and BOOTSTRAPPED BINFHE_OUTPUT * changed default BINFHE_OUTPUT for secret key encryption to SMALL_DIM | 1 年前 | |
Srv fhew pke changes (#295) * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * Edit readme for new example threshold-fhe-5p (#296) * updated readme for new example threshold-fhe-5p * fixed link in readme * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * Fixed compiler errors in advanced-real-numbers.cpp (#299) Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> * added check for batch size to be a power of two (#300) Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> * fixed yuriy review comments * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * fixed yuriy review comments * fixed some typos and comments * fixed review comments * small edits to binfhe/examples/readme and docs/sphinx_rsts/modules/binfhe.rst --------- Co-authored-by: dsuponitskiy <dmitriy.suponitskiy@gmail.com> Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> Co-authored-by: Andrey Kim <kimandr.kz@gmail.com> Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> | 3 年前 | |
Srv fhew pke changes (#295) * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * Edit readme for new example threshold-fhe-5p (#296) * updated readme for new example threshold-fhe-5p * fixed link in readme * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * Fixed compiler errors in advanced-real-numbers.cpp (#299) Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> * added check for batch size to be a power of two (#300) Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> * fixed yuriy review comments * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * fixed yuriy review comments * fixed some typos and comments * fixed review comments * small edits to binfhe/examples/readme and docs/sphinx_rsts/modules/binfhe.rst --------- Co-authored-by: dsuponitskiy <dmitriy.suponitskiy@gmail.com> Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> Co-authored-by: Andrey Kim <kimandr.kz@gmail.com> Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> | 3 年前 | |
578 fast xor (#593) * Update X(N)OR gate mapping function and delete benchmark and examples of X(N)OR_FAST * fix `EvalBinGate` to use new XOR * re-added X(N)OR_FAST for backwards compatibility --------- Co-authored-by: HONGDUCK <hduck0729@gmail.com> Co-authored-by: Yuriy Polyakov <ypolyakod@dualitytech.com> | 2 年前 | |
Srv fhew pke changes (#295) * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * Edit readme for new example threshold-fhe-5p (#296) * updated readme for new example threshold-fhe-5p * fixed link in readme * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * Fixed compiler errors in advanced-real-numbers.cpp (#299) Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> * added check for batch size to be a power of two (#300) Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> * fixed yuriy review comments * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * fixed yuriy review comments * fixed some typos and comments * fixed review comments * small edits to binfhe/examples/readme and docs/sphinx_rsts/modules/binfhe.rst --------- Co-authored-by: dsuponitskiy <dmitriy.suponitskiy@gmail.com> Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> Co-authored-by: Andrey Kim <kimandr.kz@gmail.com> Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> | 3 年前 | |
Srv fhew pke changes (#295) * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * Edit readme for new example threshold-fhe-5p (#296) * updated readme for new example threshold-fhe-5p * fixed link in readme * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * Fixed compiler errors in advanced-real-numbers.cpp (#299) Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> * added check for batch size to be a power of two (#300) Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> * fixed yuriy review comments * fixed 2020/086 reference * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * code that compiles, need to debug segmentation fault * running code but result fluctuates * working code for boolean LWE pke * added more examples, benchmark and cleaned up code and comments. Still need to test new unittests added for lwe pke * check input ciphertext to encryptn, removed unittests copy for pke to identify tests to add and some cleanup (this branch fixes issue #235) * changes to pk generation in BTKeygen instead of generating a triple, encrypt function with pk that calls both encryptN and encryptn, added unittests * added pubkeygen to binfhecontext, modified keygen benchmark to include btkeygen in ske * modified keygen function in binfhe-benchmarks, cleaned up comments * clean up * correction to benchmark binfhe-ginx-pke * fixed yuriy review comments * fixed some typos and comments * fixed review comments * small edits to binfhe/examples/readme and docs/sphinx_rsts/modules/binfhe.rst --------- Co-authored-by: dsuponitskiy <dmitriy.suponitskiy@gmail.com> Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com> Co-authored-by: Andrey Kim <kimandr.kz@gmail.com> Co-authored-by: Andrey Kim <andreykim@Andreys-MacBook-Pro.local> | 3 年前 |