Skip to content
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

Remove references to key lifetime #52

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

hug-dev
Copy link
Member

@hug-dev hug-dev commented Oct 22, 2019

Changes needed after they were removed from
parallaxsecond/parsec-interface-rs#5.

Will need changes in Cargo.toml file to pull the newer version of parsec-interface-rs.
@ionut-arm Should it be 0.2.0 as well?

@hug-dev hug-dev self-assigned this Oct 22, 2019
@ionut-arm
Copy link
Member

Should it be 0.2.0 as well?

I think it makes sense to keep this consistently versioned so yeah, 0.2.0 sounds good

Copy link
Member

@ionut-arm ionut-arm left a comment

Choose a reason for hiding this comment

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

Nice! A cleaner/more coherent service

@@ -157,7 +157,6 @@ pub const PSA_ALG_KEY_DERIVATION_MASK: psa_algorithm_t = 0x010f_ffff;
pub const PSA_ALG_SELECT_RAW: psa_algorithm_t = 0x3100_0001;
pub const PSA_ALG_FFDH_BASE: psa_algorithm_t = 0x2210_0000;
pub const PSA_ALG_ECDH_BASE: psa_algorithm_t = 0x2220_0000;
pub const PSA_KEY_LIFETIME_VOLATILE: psa_key_lifetime_t = 0x0000_0000;
Copy link
Member

Choose a reason for hiding this comment

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

Just as a sidenote, this could've been kept - definitely not all the constants defined here are actually used; maybe in the future we'll end up supporting volatile keys somehow, but this can go as is.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll revert that.

Changes needed after they were removed from
parallaxsecond/parsec-interface-rs#5.

Signed-off-by: Hugues de Valon <[email protected]>
@hug-dev hug-dev merged commit 7a9e348 into parallaxsecond:master Oct 23, 2019
@hug-dev hug-dev deleted the remove-lifetimes branch October 23, 2019 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants