Skip to content

Commit

Permalink
Add leichi algorithm to HEU
Browse files Browse the repository at this point in the history
  • Loading branch information
tomithy001 committed Aug 8, 2023
1 parent 7d3df40 commit 303eb75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions heu/library/phe/encryptor_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ TEST_P(EncryptorTest, EncryptZero) {
}

TEST_P(EncryptorTest, MinMaxEnc) {
if (GetParam() == SchemaType::Leichi) {
GTEST_SKIP() << "NegateInplace is error, Skip Leichi";
}
// if (GetParam() == SchemaType::Leichi) {
// GTEST_SKIP() << "NegateInplace is error, Skip Leichi";
// }
auto encryptor = he_kit_.GetEncryptor();
auto decryptor = he_kit_.GetDecryptor();

Expand Down
12 changes: 6 additions & 6 deletions heu/library/phe/phe_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ TEST_P(PheTest, BatchEncoding) {
GTEST_SKIP() << "Plaintext range is not enough, Skip ElGamal";
}

if (GetParam() == SchemaType::Leichi) {
GTEST_SKIP() << "Batch not supported, Skip Leichi";
}
// if (GetParam() == SchemaType::Leichi) {
// GTEST_SKIP() << "Batch not supported, Skip Leichi";
// }

auto encryptor = he_kit_.GetEncryptor();
auto evaluator = he_kit_.GetEvaluator();
Expand Down Expand Up @@ -127,9 +127,9 @@ TEST_P(PheTest, BatchAdd) {
GTEST_SKIP() << "Plaintext range is not enough, Skip ElGamal";
}

if (GetParam() == SchemaType::Leichi) {
GTEST_SKIP() << "Batch not supported, Skip Leichi";
}
// if (GetParam() == SchemaType::Leichi) {
// GTEST_SKIP() << "Batch not supported, Skip Leichi";
// }
auto encryptor = he_kit_.GetEncryptor();
auto evaluator = he_kit_.GetEvaluator();
auto decryptor = he_kit_.GetDecryptor();
Expand Down

0 comments on commit 303eb75

Please sign in to comment.