Skip to content

Commit

Permalink
repo-sync-2024-09-14T10:21:04+0800 (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie authored Sep 14, 2024
1 parent e421c0c commit 0e35bc9
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ inline std::string GetProviderPath() {
std::string path1;
std::string path2;
std::string path3 =
fmt::format("/yacl/crypto/ossl-provider/libprov_shared{}", SO_EXT);
fmt::format("/yacl/crypto/ossl_provider/libprov_shared{}", SO_EXT);

// step 1: determine if target is "cc_test" or "cc_library"
if (selfdir_str.find("sandbox") != std::string::npos) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "yacl/crypto/ossl-provider/rand_impl.h"
#include "yacl/crypto/ossl-provider/version.h"
#include "yacl/crypto/ossl_provider/rand_impl.h"
#include "yacl/crypto/ossl_provider/version.h"

using FuncPtr = void (*)();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "openssl/randerr.h"

#include "yacl/crypto/openssl_wrappers.h"
#include "yacl/crypto/ossl-provider/helper.h"
#include "yacl/crypto/ossl_provider/helper.h"

namespace yacl::crypto {

Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions yacl/crypto/rand/drbg/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ yacl_cc_library(
"openssl_factory.h",
],
data = [
"//yacl/crypto/ossl-provider:prov_shared", # openssl provider shared lib
"//yacl/crypto/ossl_provider:prov_shared", # openssl provider shared lib
],
visibility = ["//visibility:private"],
deps = [
":spi",
"//yacl/crypto:openssl_wrappers",
"//yacl/crypto/ossl-provider:helper", # helper
"//yacl/crypto/ossl_provider:helper", # helper
"//yacl/crypto/rand/entropy_source",
],
alwayslink = 1,
Expand All @@ -72,15 +72,15 @@ yacl_cc_library(
"native_factory.h",
],
data = [
"//yacl/crypto/ossl-provider:prov_shared", # openssl provider shared lib
"//yacl/crypto/ossl_provider:prov_shared", # openssl provider shared lib
],
visibility = ["//visibility:private"],
deps = [
":spi",
"//yacl/crypto:openssl_wrappers",
"//yacl/crypto/block_cipher:symmetric_crypto",
"//yacl/crypto/hash:hash_utils",
"//yacl/crypto/ossl-provider:helper", # helper
"//yacl/crypto/ossl_provider:helper", # helper
"//yacl/crypto/rand/entropy_source",
],
alwayslink = 1,
Expand Down
2 changes: 1 addition & 1 deletion yacl/crypto/rand/drbg/openssl_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include <vector>

#include "yacl/base/exception.h"
#include "yacl/crypto/ossl-provider/helper.h"
#include "yacl/crypto/ossl_provider/helper.h"
#include "yacl/secparam.h"

namespace yacl::crypto {
Expand Down
2 changes: 1 addition & 1 deletion yacl/crypto/rand/rand.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "yacl/base/byte_container_view.h"
#include "yacl/base/dynamic_bitset.h"
#include "yacl/crypto/ossl-provider/helper.h"
#include "yacl/crypto/ossl_provider/helper.h"
#include "yacl/crypto/rand/entropy_source/entropy_source.h"
#include "yacl/math/gadget.h"

Expand Down

0 comments on commit 0e35bc9

Please sign in to comment.