tests: pk: add a common function to create a PSA key out of predefined keys #598

Closed
opened 2025-12-09 08:50:40 -06:00 by valeriosetti · 0 comments
valeriosetti commented 2025-12-09 08:50:40 -06:00 (Migrated from github.com)

Suggested enhancement

This function already exists in test_suite_pk.function and, after #577, a similar one is going to exist also in test_suite_pkwrite.function.

The goal is to create a common helper function to be used in all test_suite_xxx files when necessary.

Justification

TF-PSA-Crypto needs this because it's nice to minimize duplications also in test code.

### Suggested enhancement This function already exists in [test_suite_pk.function](https://github.com/Mbed-TLS/TF-PSA-Crypto/blob/348d0eeb40bfc053225d4f1da69b60644c1d3110/tests/suites/test_suite_pk.function#L179) and, after #577, a similar one is going to exist also in `test_suite_pkwrite.function`. The goal is to create a common helper function to be used in all `test_suite_xxx` files when necessary. ### Justification TF-PSA-Crypto needs this because it's nice to minimize duplications also in test code.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/TF-PSA-Crypto#598
No description provided.