diff options
author | Xu Yong <yong.xu@arm.com> | 2019-11-01 14:28:34 +0800 |
---|---|---|
committer | David Vincze <david.vincze@arm.com> | 2019-11-29 16:35:34 +0100 |
commit | 9830d482a4c7d39dc6836c9dc3df23ce826d18ca (patch) | |
tree | 9703974782b661fe808be7fc28ec7123924ca718 /bl2 | |
parent | 2e297a51136c3d44ad3e76d5c95957d0661496eb (diff) | |
download | trusted-firmware-m-9830d482a4c7d39dc6836c9dc3df23ce826d18ca.tar.gz |
Platform: Generate attestation key and program it to OTP on Musca-B1
Attestation key is stored in OTP at offset 0x30 words.
The number of zero bits in attestation key is stored in OTP
at offset 0x2F words.
Default attestation key is generated based on ECC secp256r1 curve.
Change-Id: If384f334f95bfcf0a8290d9a98a1dcc4cac3f670
Signed-off-by: Xu Yong <yong.xu@arm.com>
Diffstat (limited to 'bl2')
-rw-r--r-- | bl2/ext/mcuboot/include/config-boot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bl2/ext/mcuboot/include/config-boot.h b/bl2/ext/mcuboot/include/config-boot.h index 71667eba2f..352c1172a1 100644 --- a/bl2/ext/mcuboot/include/config-boot.h +++ b/bl2/ext/mcuboot/include/config-boot.h @@ -68,6 +68,10 @@ #define MBEDTLS_CIPHER_C #define MBEDTLS_AES_C #define MBEDTLS_CCM_C +#define MBEDTLS_ECDSA_C +#define MBEDTLS_ECP_C +#define MBEDTLS_ECP_DP_SECP256R1_ENABLED +#define MBEDTLS_ECP_DP_CURVE25519_ENABLED #endif /* CRYPTO_HW_ACCELERATOR_OTP_PROVISIONING */ #ifdef CRYPTO_HW_ACCELERATOR |