Skip to content

Update Lifetime structure #78

Open
@hug-dev

Description

Version 1.0.1 of PSA Crypto introduced new subtypes for psa_key_lifetime_t: key persistence (psa_key_persistence_t) and key location (psa_key_location_t).

These new types need to be abstracted in the Rust wrapper and their utility macros need to be accessible as well.

Warning: Parsec uses the Lifetime type in its mappings. Changing it means that it will break the deserialisation of older mappings. Ultimately this is a Parsec problem and does not concern this crate. But worth noting. I put it as an agenda item for 09/02/2021 to discuss.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions