Skip to content
Draft
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
31 changes: 31 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
members = [
"rust-symcrypt",
"symcrypt-bindgen",
"symcrypt-sys"
"symcrypt-sys",
"mscrypto",
"mscrypto-symcrypt",
"mscrypto-bcrypt",
"mscrypto-example"
]
resolver = "2"

Expand Down
26 changes: 26 additions & 0 deletions mscrypto-bcrypt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "mscrypto-bcrypt"
authors = ["Microsoft"]
version = "0.1.0"
license = "MIT OR Apache-2.0"
description = "BCrypt backend for the mscrypto contract (Windows-only)"
edition.workspace = true
rust-version.workspace = true
repository = "https://github.com/microsoft/rust-symcrypt"

[dependencies]
mscrypto = { path = "../mscrypto", version = "0.1.0" }

# BCrypt is a Windows component, so the backend and its binding are Windows-only.
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = [
"Win32_Foundation",
"Win32_Security_Cryptography",
] }

[dev-dependencies]
hex = { workspace = true }

[features]
# Forwards to the contract's SHA-3 surface; off by default.
sha3 = ["mscrypto/sha3"]
Loading
Loading