Skip to content

Commit

Permalink
[feat]: optimize the serialization method and update yacl
Browse files Browse the repository at this point in the history
  • Loading branch information
dterazhao committed Nov 30, 2023
1 parent 0346a49 commit 0a02a67
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions heu/tests/heu_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ void Add(const heu::lib::phe::SchemaType &schema) {
auto encoder = he_kit.GetEncoder<heu::lib::phe::PlainEncoder>(1e4);

heu::lib::phe::Ciphertext c1 = encryptor->Encrypt(encoder.Encode(2.8));
heu::lib::phe::Ciphertext c2 = encryptor->Encrypt(
encoder.Encode(0.012));
heu::lib::phe::Ciphertext c2 = encryptor->Encrypt(encoder.Encode(0.012));
heu::lib::phe::Ciphertext res;

StopWatch sw;
Expand Down
2 changes: 1 addition & 1 deletion third_party/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ echo "Current Directory: $CD"
[ -d src ] || mkdir src
SSL_PREFIX=$([[ "$1" == "" ]] && echo "$CD" || echo "$1")

rm -rf include/* lib/* && mkdir include lib
rm -rf include lib && mkdir include lib
# build yacl
"$CD"/build_yacl.sh "$SSL_PREFIX"
Binary file modified third_party/src/yacl.tar.gz
Binary file not shown.

0 comments on commit 0a02a67

Please sign in to comment.