Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
key deletion: delete first the faster volatile storage and test publi…
…c keys first Most key deletions are for volatile public keys (temporary keys for FIDO pin protocol, PIN keys from trussed-auth etc...). In any cases, persistent keys are more rarely deleted, and volatile is the fastest storage, so it being first is overall a performance improvement. I think long term (once we have the builder-pattern based syscall implementation maybe?) we should add optional location and secrecy arguments to the syscall. It is rare that the caller would not know the kind of key it is deleting.
- Loading branch information