Skip to content

Upgrade dependency on Mbed Crypto to v2.0.0 #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2019
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
8 changes: 4 additions & 4 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env_logger = "0.7.1"
log = { version = "0.4.8", features = ["serde"] }

[dev-dependencies]
parsec-client-test = { git = "https://github.com/parallaxsecond/parsec-client-test", tag = "0.1.4" }
parsec-client-test = { git = "https://github.com/parallaxsecond/parsec-client-test", tag = "0.1.5" }
num_cpus = "1.10.1"

[build-dependencies]
Expand All @@ -34,7 +34,7 @@ toml = "0.4.2"
serde = { version = "1.0", features = ["derive"] }

[package.metadata.config]
mbed-crypto-version = "mbedcrypto-1.1.0"
mbed-crypto-version = "mbedcrypto-2.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎


[features]
default = ["mbed"]
Expand Down
4 changes: 3 additions & 1 deletion src/providers/mbed_provider/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ pub const PSA_ERROR_INVALID_PADDING: psa_status_t = -150;
pub const PSA_ERROR_INSUFFICIENT_DATA: psa_status_t = -143;
pub const PSA_ERROR_INVALID_HANDLE: psa_status_t = -136;

pub const PSA_MAX_PERSISTENT_KEY_IDENTIFIER: psa_key_id_t = 0xfffe_ffff;
pub const PSA_MAX_KEY_BITS: usize = 0xfff8;
pub const PSA_KEY_BITS_TOO_LARGE: psa_key_bits_t = 0xffff;
pub const PSA_MAX_PERSISTENT_KEY_IDENTIFIER: psa_key_id_t = 0x3fff_ffff;
pub const PSA_KEY_SLOT_COUNT: isize = 32;
pub const EMPTY_KEY_HANDLE: psa_key_handle_t = 0;
pub const PSA_KEY_TYPE_NONE: psa_key_type_t = 0x0000_0000;
Expand Down
Loading