Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
* @PixoDev
* @xabg2

/Sources/CBlake3/ @sg-gs
/Sources/InternxtSwiftCore/Services/Crypto/ @sg-gs
/Sources/InternxtSwiftCore/Utils/CryptoUtils.swift @sg-gs
/Sources/InternxtSwiftCore/Extensions/RIPEMD160+Extension.swift @sg-gs

/Tests/InternxtSwiftCoreTests/Services/Crypto/ @sg-gs
/Tests/InternxtSwiftCoreTests/BIP39Tests.swift @sg-gs
/Tests/InternxtSwiftCoreTests/Blake3Tests.swift @sg-gs
/Tests/InternxtSwiftCoreTests/MailKeystoreTests.swift @sg-gs
/Tests/InternxtSwiftCoreTests/Utils/CryptoUtilsTests.swift @sg-gs
14 changes: 14 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,23 @@ let package = Package(
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
// Official BLAKE3 C implementation (BLAKE3-team), minimal portable build.
// Only the portable backend is vendored, so every SIMD backend must be
// disabled explicitly — on AArch64 NEON is autodetected and would reference
// blake3_neon.c, which we do not ship.
.target(
name: "CBlake3",
cSettings: [
.define("BLAKE3_NO_AVX512"),
.define("BLAKE3_NO_AVX2"),
.define("BLAKE3_NO_SSE41"),
.define("BLAKE3_NO_SSE2"),
.define("BLAKE3_USE_NEON", to: "0"),
]),
.target(
name: "InternxtSwiftCore",
dependencies: [
"CBlake3",
.product(name: "IDZSwiftCommonCrypto", package: "IDZSwiftCommonCrypto")
]),
.testTarget(
Expand Down
Loading
Loading