mirror of https://github.com/ARMmbed/mbed-os.git
add MBEDTLS_PSA_CRYPTO_C defined to K64F PSA target
parent
819594477c
commit
f1c5aeb70e
|
@ -19,7 +19,7 @@
|
||||||
#include "crypto.h"
|
#include "crypto.h"
|
||||||
#include "mbed_toolchain.h"
|
#include "mbed_toolchain.h"
|
||||||
|
|
||||||
#if DEVICE_TRNG
|
#if (defined(DEVICE_TRNG) && defined(MBEDTLS_PSA_CRYPTO_C))
|
||||||
|
|
||||||
MBED_WEAK void trng_init(trng_t *obj)
|
MBED_WEAK void trng_init(trng_t *obj)
|
||||||
{
|
{
|
||||||
|
@ -55,4 +55,4 @@ MBED_WEAK int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // DEVICE_TRNG
|
#endif // (defined(DEVICE_TRNG) && defiend(MBEDTLS_PSA_CRYPTO_C))
|
||||||
|
|
|
@ -1439,7 +1439,7 @@
|
||||||
"PSA"
|
"PSA"
|
||||||
],
|
],
|
||||||
"is_disk_virtual": true,
|
"is_disk_virtual": true,
|
||||||
"macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED"],
|
"macros": ["CPU_MK64FN1M0VMD12", "FSL_RTOS_MBED", "MBEDTLS_PSA_CRYPTO_C"],
|
||||||
"inherits": ["Target"],
|
"inherits": ["Target"],
|
||||||
"detect_code": ["0240"],
|
"detect_code": ["0240"],
|
||||||
"device_has": [
|
"device_has": [
|
||||||
|
|
Loading…
Reference in New Issue