Skip to content

Commit

Permalink
Bump: yacl (#128)
Browse files Browse the repository at this point in the history
* Bump: yacl

* format
  • Loading branch information
Jamie-Cui authored May 16, 2024
1 parent c50d26a commit 79d6e81
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 15 deletions.
6 changes: 3 additions & 3 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ def _yacl():
http_archive,
name = "yacl",
urls = [
"https://github.com/secretflow/yacl/archive/refs/tags/0.4.4b3.tar.gz",
"https://github.com/secretflow/yacl/archive/refs/tags/0.4.5b0.tar.gz",
],
strip_prefix = "yacl-0.4.4b3",
sha256 = "c6b5f32e92d2e31c1c5d7176792965fcf332d1ae892ab8b049d2e66f6f47e4f2",
strip_prefix = "yacl-0.4.5b0",
sha256 = "68d1dbeb255d404606d3ba9380b915fbbe3886cde575bbe89795657286742bd2",
)

def _bazel_platform():
Expand Down
6 changes: 3 additions & 3 deletions psi/kkrt/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ psi_cc_library(
"@com_google_absl//absl/strings",
"@yacl//yacl/crypto/hash:hash_utils",
"@yacl//yacl/crypto/rand",
"@yacl//yacl/kernels/algorithms:base_ot",
"@yacl//yacl/kernels/algorithms:iknp_ote",
"@yacl//yacl/kernels/algorithms:kkrt_ote",
"@yacl//yacl/kernel/algorithms:base_ot",
"@yacl//yacl/kernel/algorithms:iknp_ote",
"@yacl//yacl/kernel/algorithms:kkrt_ote",
"@yacl//yacl/link",
],
)
Expand Down
6 changes: 3 additions & 3 deletions psi/kkrt/kkrt_psi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
#include "yacl/crypto/hash/hash_utils.h"
#include "yacl/crypto/rand/rand.h"
#include "yacl/crypto/tools/prg.h"
#include "yacl/kernels/algorithms/base_ot.h"
#include "yacl/kernels/algorithms/iknp_ote.h"
#include "yacl/kernels/algorithms/kkrt_ote.h"
#include "yacl/kernel/algorithms/base_ot.h"
#include "yacl/kernel/algorithms/iknp_ote.h"
#include "yacl/kernel/algorithms/kkrt_ote.h"

#include "psi/utils/communication.h"
#include "psi/utils/cuckoo_index.h"
Expand Down
2 changes: 1 addition & 1 deletion psi/kkrt/kkrt_psi.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <unordered_map>
#include <vector>

#include "yacl/kernels/algorithms/ot_store.h"
#include "yacl/kernel/algorithms/ot_store.h"
#include "yacl/link/link.h"

//
Expand Down
2 changes: 1 addition & 1 deletion psi/kkrt/receiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.
#pragma once

#include "yacl/kernels/algorithms/ot_store.h"
#include "yacl/kernel/algorithms/ot_store.h"

#include "psi/interface.h"
#include "psi/utils/hash_bucket_cache.h"
Expand Down
2 changes: 1 addition & 1 deletion psi/kkrt/sender.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.
#pragma once

#include "yacl/kernels/algorithms/ot_store.h"
#include "yacl/kernel/algorithms/ot_store.h"

#include "psi/interface.h"
#include "psi/utils/hash_bucket_cache.h"
Expand Down
2 changes: 1 addition & 1 deletion psi/rr22/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ psi_cc_library(
"@yacl//yacl/crypto/rand",
"@yacl//yacl/crypto/tools:prg",
"@yacl//yacl/crypto/tools:ro",
"@yacl//yacl/kernels/algorithms:silent_vole",
"@yacl//yacl/kernel/algorithms:silent_vole",
"@yacl//yacl/link",
"@yacl//yacl/math/f2k",
"@yacl//yacl/utils:parallel",
Expand Down
2 changes: 1 addition & 1 deletion psi/rr22/rr22_oprf.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <vector>

#include "yacl/base/int128.h"
#include "yacl/kernels/algorithms/silent_vole.h"
#include "yacl/kernel/algorithms/silent_vole.h"
#include "yacl/link/context.h"

#include "psi/rr22/okvs/baxos.h"
Expand Down
1 change: 0 additions & 1 deletion psi/rr22/rr22_psi_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ TEST_P(Rr22PsiTest, CompressParamsFalseTest) {
EXPECT_EQ(indices_psi, indices);
}


INSTANTIATE_TEST_SUITE_P(
CorrectTest_Instances, Rr22PsiTest,
testing::Values(TestParams{35, Rr22PsiMode::FastMode},
Expand Down

0 comments on commit 79d6e81

Please sign in to comment.