Skip to content
Open
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
1 change: 1 addition & 0 deletions psa-crypto-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
.clang_arg(format!("-I{}", mbed_include_dir))
.header("src/c/shim.h")
.blocklist_type("max_align_t")
.use_core()
.generate_comments(false)
.size_t_is_usize(true);

Expand Down Expand Up @@ -219,7 +220,7 @@
.cargo_metadata(metadata);

if !external_mbedtls {
_ = cfg.flag(&format!("-DMBEDTLS_CONFIG_FILE=\"{}\"", CONFIG_FILE));

Check failure on line 223 in psa-crypto-sys/build.rs

View workflow job for this annotation

GitHub Actions / All tests: rustc stable

the borrowed expression implements the required traits
}

cfg.try_compile(shimlib_name)
Expand Down
1 change: 1 addition & 0 deletions psa-crypto-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//! You can find the API
//! [here](https://developer.arm.com/architectures/security-architectures/platform-security-architecture/documentation).

#![no_std]
// This one is hard to avoid.
#![allow(clippy::multiple_crate_versions)]
#![allow(clippy::missing_safety_doc)]
Expand Down
2 changes: 1 addition & 1 deletion psa-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rust-version = "1.66.0"
psa-crypto-sys = { path = "../psa-crypto-sys", version = "0.12.0", default-features = false }
log = "0.4.20"
serde = { version = "1.0.115", features = ["derive"], default-features = false }
zeroize = { version = "1.4.3", features = ["zeroize_derive"] }
zeroize = { version = "1.4.3", features = ["zeroize_derive"], default-features = false }

[dev-dependencies]
rsa = { version = "0.5.0", features = ["alloc"] }
Expand Down
Loading