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

Openless PSA crypto APIs implementation #3547

Merged
merged 55 commits into from
Nov 20, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
d2ed481
Split persistence and key id validation
ronald-cron-arm Jul 17, 2020
2a99315
Add volatile key identifiers
ronald-cron-arm Jul 17, 2020
98a54dd
psa: slot mgmt: Don't use handles to loop through slot array
ronald-cron-arm Jul 24, 2020
91e9515
Introduce PSA_KEY_HANDLE_INIT macro
ronald-cron-arm Jul 30, 2020
c26f8d4
Introduce psa_key_handle_is_null inline function
ronald-cron-arm Sep 1, 2020
47a8561
Introduce psa_key_handle_equal inline function
ronald-cron-arm Sep 1, 2020
c4d1b51
Define handles as key identifiers
ronald-cron-arm Jul 31, 2020
2d52eb2
tests: Fix invalid key identifier error code
ronald-cron-arm Sep 17, 2020
432e19c
tests: Fix error codes when using "invalid" handles
ronald-cron-arm Sep 17, 2020
4184107
tests: Fix checks of volatile key identifier
ronald-cron-arm Sep 17, 2020
e4f6d5c
tests: Fix persistent slot lifecycle tests
ronald-cron-arm Nov 9, 2020
cf56a0a
psa: Move from key handle to key identifier
ronald-cron-arm Aug 4, 2020
277a85f
Add psa_purge_key API
ronald-cron-arm Aug 4, 2020
c3623db
State PSA_CRYPTO_KEY_ID_ENCODES_OWNER and USE_PSA_CRYPTO incompatibility
ronald-cron-arm Oct 29, 2020
adc2ff2
Adapt programs to PSA openless APIs
ronald-cron-arm Sep 16, 2020
5425a21
tests: Adapt PSA tests to openless APIs
ronald-cron-arm Aug 4, 2020
3930997
tests: slot mgmt: Add purge checks in volatile key lifecycle test
ronald-cron-arm Oct 20, 2020
e7e86cf
tests: slot mgmt: Rename ways of invalidating keys
ronald-cron-arm Oct 20, 2020
994b805
tests: slot mgmt: Fix test data
ronald-cron-arm Oct 20, 2020
f67aefe
tests: slot mgmt: Add psa_purge_key testing
ronald-cron-arm Oct 20, 2020
fc9c556
Forbid volatile key identifiers for non volatile keys
ronald-cron-arm Oct 15, 2020
97c8ad5
Merge search of loaded volatile and persistent keys
ronald-cron-arm Oct 15, 2020
5134519
Fix close/purge of a key
ronald-cron-arm Oct 16, 2020
3c76a42
Improve psa_key_start_creation description
ronald-cron-arm Oct 16, 2020
6b5ff53
Add mbedtls_set_key_owner_id API
ronald-cron-arm Oct 16, 2020
390f607
Add tests checking owner of volatile keys
ronald-cron-arm Oct 16, 2020
f1ff9a8
tests: psa: Use PSA_KEY_LIFETIME_IS_VOLATILE where it should
ronald-cron-arm Oct 19, 2020
9678355
psa: Fix references to macros in comments
ronald-cron-arm Oct 19, 2020
4067d1c
psa: Improve key creation documentation
ronald-cron-arm Oct 19, 2020
d98059d
psa: Fix tests/handling of lifetime incompatible with location
ronald-cron-arm Oct 23, 2020
65f38a3
Add key id check when creating a volatile key
ronald-cron-arm Oct 23, 2020
54b9008
psa: Forbid creation/registration of keys in vendor range
ronald-cron-arm Oct 29, 2020
f95a2b1
psa: mgmt: Add key slot access counter
ronald-cron-arm Oct 22, 2020
0c3752a
psa: slot mgmt: Add unaccessed slots counter in stats
ronald-cron-arm Oct 30, 2020
ddd3d05
psa: Add access counter check in slot wipe
ronald-cron-arm Oct 30, 2020
f291111
psa: Do not reset a key slot under access
ronald-cron-arm Oct 29, 2020
a5b894f
psa: mgmt: Add key slot reuse
ronald-cron-arm Oct 21, 2020
77c89f5
Fix several typos
ronald-cron-arm Nov 10, 2020
19daca9
Prefer persistent over permanent
ronald-cron-arm Nov 10, 2020
7587ae4
Miscellaneous documentation improvements
ronald-cron-arm Nov 11, 2020
7d54f66
Miscellaneous coding style fixes
ronald-cron-arm Nov 11, 2020
f473d8b
psa: slot mgmt: Improve psa_search_key_in_slots implementation
ronald-cron-arm Nov 12, 2020
cbd7bea
psa: slot mgmt: Simplify psa_validate_key_id
ronald-cron-arm Nov 11, 2020
9e12f8f
tests: psa crypto: Fix lifetime_is_secure_element()
ronald-cron-arm Nov 13, 2020
c985114
programs: ssl: Fix printf parameter type cast
ronald-cron-arm Nov 13, 2020
4640c15
psa: Remove error message output
ronald-cron-arm Nov 13, 2020
cbf6a1d
psa: slot mgmt: Add access counter overflow check
ronald-cron-arm Nov 13, 2020
5097294
psa: Decrement slot access count when finalizing key creation
ronald-cron-arm Nov 14, 2020
81709fc
psa: Move key identifier return to psa_finish_key_creation()
ronald-cron-arm Nov 14, 2020
ab79bd2
tests: slot mgmt: Improve key_slot_eviction_to_import_new_key test
ronald-cron-arm Nov 14, 2020
5c52292
psa: Rename functions to get a key slot
ronald-cron-arm Nov 14, 2020
1ad1eee
psa stats: Count locked slots instead of unlocked ones
ronald-cron-arm Nov 15, 2020
a3d9dac
Add change log
ronald-cron-arm Nov 15, 2020
1d12d87
Improve/fix documentation
ronald-cron-arm Nov 18, 2020
3a4f0e3
tests: psa: Reset key attributes where needed
ronald-cron-arm Nov 19, 2020
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
Loading