1 /* 2 * Copyright (c) 2021-2022, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef PLATFORM_DEFAULT_NV_SEED 9 10 #include "tfm_plat_crypto_nv_seed.h" 11 12 #ifndef MBEDTLS_ENTROPY_NV_SEED 13 #define MBEDTLS_ENTROPY_NV_SEED 14 #endif /* !MBEDTLS_ENTROPY_NV_SEED */ 15 16 #ifdef MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES 17 #undef MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES 18 #endif /* MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES */ 19 20 #ifndef MBEDTLS_PLATFORM_NV_SEED_READ_MACRO 21 #define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO tfm_plat_crypto_nv_seed_read /**< Default nv_seed_read function to use, can be undefined */ 22 #endif /* !MBEDTLS_PLATFORM_NV_SEED_READ_MACRO */ 23 24 #ifndef MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO 25 #define MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO tfm_plat_crypto_nv_seed_write /**< Default nv_seed_write function to use, can be undefined */ 26 #endif /* !MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO */ 27 28 #endif /* !defined(PLATFORM_DEFAULT_NV_SEED) */ 29