@@ -7528,6 +7570,11 @@ psa_status_t psa_crypto_init(void) global_data.initialized = 1; exit: #if defined(MBEDTLS_THREADING_C) mbedtls_mutex_unlock(&mbedtls_threading_psa_globaldata_mutex); #endif /* defined(MBEDTLS_THREADING_C) */ if (status != PSA_SUCCESS) { mbedtls_psa_crypto_...
@@ -7449,12 +7449,25 @@ psa_status_t mbedtls_psa_crypto_configure_entropy_sources( void (* entropy_init)(mbedtls_entropy_context *ctx), void (* entropy_free)(mbedtls_entropy_context *ctx)) { psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; #if defined(MBEDTLS_THREADING_C) mbedtls...
psa_ret = psa_crypto_init(); if (psa_ret != PSA_SUCCESS) { BOOT_LOG_ERR("AES crypto init failed %d", psa_ret); return -1; Contributor valeriosetti Aug 30, 2024 I think that you might add memset(private_key, 0, sizeof(private_key)); here as well just in case psa_cr...
/crypto_init/main.cpp #if ((!definedTARGETPSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C))) #error NOT_SUPPORTED] Mbed Crypto is OFF- skipping. #if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSACRYPTO_C)) || (!defined(MBEDTLS_PSA_CRYPTO_SPM ))) # [NOT_SUPPORTED] Mbed ...
An open source, portable, easy to use, readable and flexible SSL library - mbedtls/tests/suites/test_suite_random.data at test-more-USE_PSA_CRYPTO-20240812-3.6 · gilles-peskine-arm/mbedtls
test_suite_psa_crypto_entropy.function test_suite_psa_crypto_generate_key.function test_suite_psa_crypto_hash.data test_suite_psa_crypto_hash.function test_suite_psa_crypto_init.data test_suite_psa_crypto_init.function test_suite_psa_crypto_low_hash.function test_suite_psa_...
* In all cases, this function may only be called before calling any * other function in the PSA Crypto API, including psa_crypto_init(). * * When this function returns successfully, it populates a file in * persistent storage. Once the file has been created, this function * can no ...
Security Insights Additional navigation options Files main ele_s200 ele_s4xx els_pkc mbedtls_thread_alt threading_alt.c threading_alt.h osal zephyr .gitignore CMakeLists.txt Kconfig LICENSE SW-Content-Register.txt add_psa_crypto_driver_v2.yml ...
An open source, portable, easy to use, readable and flexible SSL library - mbedtls/tests/suites/test_suite_pk.function at test-more-USE_PSA_CRYPTO-20240812-3.6 · gilles-peskine-arm/mbedtls
$ cd tf-psa-crypto $ git submodule update --init $ cd .. $ cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On -DCMAKE_INSTALL_PREFIX=/dev/shm/opt . $ cmake --build . $ cmake --install . $ gcc -I/dev/shm/opt/include -dM -E - < /dev/shm/opt/include/mbedtls/version.h | grep MBEDTL...