mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-23 16:20:49 +00:00
Remove PSA macros usage from adapters
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
bf1c8f9d29
commit
5a2bcf6f3e
@ -103,9 +103,6 @@ EXCLUDE_FROM_FULL = frozenset([
|
|||||||
'MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN', # build dependency (clang+memsan)
|
'MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN', # build dependency (clang+memsan)
|
||||||
'MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND', # build dependency (valgrind headers)
|
'MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND', # build dependency (valgrind headers)
|
||||||
'MBEDTLS_X509_REMOVE_INFO', # removes a feature
|
'MBEDTLS_X509_REMOVE_INFO', # removes a feature
|
||||||
*PSA_UNSUPPORTED_FEATURE,
|
|
||||||
*PSA_DEPRECATED_FEATURE,
|
|
||||||
*PSA_UNSTABLE_FEATURE
|
|
||||||
])
|
])
|
||||||
|
|
||||||
def is_seamless_alt(name):
|
def is_seamless_alt(name):
|
||||||
@ -212,8 +209,6 @@ def include_in_crypto(name):
|
|||||||
'MBEDTLS_PKCS7_C', # part of libmbedx509
|
'MBEDTLS_PKCS7_C', # part of libmbedx509
|
||||||
]:
|
]:
|
||||||
return False
|
return False
|
||||||
if name in EXCLUDE_FROM_CRYPTO:
|
|
||||||
return False
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def crypto_adapter(adapter):
|
def crypto_adapter(adapter):
|
||||||
@ -232,7 +227,6 @@ def crypto_adapter(adapter):
|
|||||||
|
|
||||||
DEPRECATED = frozenset([
|
DEPRECATED = frozenset([
|
||||||
'MBEDTLS_PSA_CRYPTO_SE_C',
|
'MBEDTLS_PSA_CRYPTO_SE_C',
|
||||||
*PSA_DEPRECATED_FEATURE
|
|
||||||
])
|
])
|
||||||
def no_deprecated_adapter(adapter):
|
def no_deprecated_adapter(adapter):
|
||||||
"""Modify an adapter to disable deprecated symbols.
|
"""Modify an adapter to disable deprecated symbols.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user