You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this issue is to add the p256m driver in psa-crypto.
List of tasks to be done (may not be comprehensive):
Add copy of directory p256m into drivers/p256m
Add a drivers/CMakeLists.txt similar to the 3rdparty/CMakeLists.txt one (only p256m, not everest)
Add a drivers/p256m/CMakeLists.txt (do we need to install the p256m includes as in mbedtls?)
In core/CMakeLists.txt add two target_link_libraries( ... PRIVATE p256m) like in library/CMakeLists.txt (not PUBLIC p256m but PRIVATE p256m though I'd say).
Add PSA_CRYPTO_P256M_DRIVER_ENABLED config option and its documentation in the section "PSA driver interface implementation configuration options" of crypto_config.h. Similar to MBEDTLS_PSA_P256M_DRIVER_ENABLED in mbedtls. Disabled by default.
Add its translation to MBEDTLS_PSA_P256M_DRIVER_ENABLED in config_adjust_mbedtls_from_psa_crypto.h.
Add a test_ccm_aes_sha256_secp256r1_p256m test component based on the configs/ccm-aes-sha256-secp256r1.h reference configuration with PSA_CRYPTO_P256M_DRIVER_ENABLED enabled similar to the test_tfm_config_p256m_driver_accel_ec test component in mbedtls.
Check that the test component do what it intends to do and give evidence of this in this issue or the associated PR for the benefit of reviewers.
The text was updated successfully, but these errors were encountered:
The goal of this issue is to add the p256m driver in psa-crypto.
List of tasks to be done (may not be comprehensive):
PUBLIC p256m
butPRIVATE p256m
though I'd say).The text was updated successfully, but these errors were encountered: