diff options
author | Yanray Wang <yanray.wang@arm.com> | 2023-09-25 10:54:24 +0800 |
---|---|---|
committer | Yanray Wang <yanray.wang@arm.com> | 2023-09-26 17:15:52 +0800 |
commit | 09f9300c013ed754653a315500ac4342a562ec0b (patch) | |
tree | cb74b9640a036d4027b0b2f372056ce199b3a9d7 /configs/config-tfm.h | |
parent | 382966d1a75021a8ef337e669468847ffb3617d1 (diff) | |
download | mbedtls-09f9300c013ed754653a315500ac4342a562ec0b.zip mbedtls-09f9300c013ed754653a315500ac4342a562ec0b.tar.gz mbedtls-09f9300c013ed754653a315500ac4342a562ec0b.tar.bz2 |
config-tfm.h: remove PK_[PARSE/WRITE]_C
As we have removed PK_[PARSE_WRITE]_C in TF-M config, we do not have
to undef them in config-tfm.h
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
Diffstat (limited to 'configs/config-tfm.h')
-rw-r--r-- | configs/config-tfm.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/configs/config-tfm.h b/configs/config-tfm.h index dab1381..b8233e9 100644 --- a/configs/config-tfm.h +++ b/configs/config-tfm.h @@ -42,17 +42,6 @@ */ #undef MBEDTLS_AES_SETKEY_DEC_ALT #undef MBEDTLS_AES_DECRYPT_ALT -/* The configuration we have enables MBEDTLS_PK_PARSE_C and MBEDTLS_PK_WRITE_C - * but not MBEDTLS_OID_C. This is inconsistent, and leads to a link error - * when using one of the mbedtls_pk_parse_xxx or mbedtls_pk_write_xxx - * functions that depend on an mbedtls_oid_xxx function. - * Mbed TLS needs PK parse/write for RSA with PSA, but the medium - * profile doesn't have RSA. Later versions of TF-M no longer enable - * PK parse/write: it wasn't a wanted feature. So disable it here - * (otherwise we'd have to enable MBEDTLS_OID_C). - */ -#undef MBEDTLS_PK_PARSE_C -#undef MBEDTLS_PK_WRITE_C /* Use built-in platform entropy functions (TF-M provides its own). */ #undef MBEDTLS_NO_PLATFORM_ENTROPY |