Closed sosthene-nitrokey closed 10 months ago
Motivated by testing: https://github.com/trussed-dev/trussed-staging/pull/11
Example of what is allowed by this PR:
with_ram_clients(["client1", "client2"], |[mut client1, mut client2]| { let key = syscall!(client1.generate_ed255_private_key(Location::Internal)).key; // The clients are distinct assert!(!syscall!(client2.exists(Mechanism::Ed255, key)).exists); })
Based on #137 for trussed-staging.
trussed-staging
Motivated by testing: https://github.com/trussed-dev/trussed-staging/pull/11
Example of what is allowed by this PR: