mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-05-01 12:04:46 +03:00
depends.py: fix TLS 1.3 requirements
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
8b7a157fbe
commit
0325ced8cc
@ -266,8 +266,7 @@ REVERSE_DEPENDENCIES = {
|
|||||||
'MBEDTLS_ENTROPY_FORCE_SHA256',
|
'MBEDTLS_ENTROPY_FORCE_SHA256',
|
||||||
'MBEDTLS_SHA224_C',
|
'MBEDTLS_SHA224_C',
|
||||||
'MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT',
|
'MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT',
|
||||||
'MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY',
|
'MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY'],
|
||||||
'MBEDTLS_SSL_PROTO_TLS1_3'],
|
|
||||||
'MBEDTLS_SHA512_C': ['MBEDTLS_SHA384_C',
|
'MBEDTLS_SHA512_C': ['MBEDTLS_SHA384_C',
|
||||||
'MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT',
|
'MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT',
|
||||||
'MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY'],
|
'MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY'],
|
||||||
@ -276,7 +275,6 @@ REVERSE_DEPENDENCIES = {
|
|||||||
'MBEDTLS_SHA256_C',
|
'MBEDTLS_SHA256_C',
|
||||||
'MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT',
|
'MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT',
|
||||||
'MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY'],
|
'MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY'],
|
||||||
'MBEDTLS_SHA384_C': ['MBEDTLS_SSL_PROTO_TLS1_3'],
|
|
||||||
'MBEDTLS_X509_RSASSA_PSS_SUPPORT': []
|
'MBEDTLS_X509_RSASSA_PSS_SUPPORT': []
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -286,6 +284,7 @@ REVERSE_DEPENDENCIES = {
|
|||||||
EXCLUSIVE_GROUPS = {
|
EXCLUSIVE_GROUPS = {
|
||||||
'MBEDTLS_SHA256_C': ['MBEDTLS_SHA224_C'],
|
'MBEDTLS_SHA256_C': ['MBEDTLS_SHA224_C'],
|
||||||
'MBEDTLS_SHA384_C': ['MBEDTLS_SHA512_C'],
|
'MBEDTLS_SHA384_C': ['MBEDTLS_SHA512_C'],
|
||||||
|
'MBEDTLS_SHA512_C': ['!MBEDTLS_SSL_COOKIE_C', '!MBEDTLS_SSL_PROTO_TLS1_3'],
|
||||||
'MBEDTLS_ECP_DP_CURVE448_ENABLED': ['!MBEDTLS_ECDSA_C',
|
'MBEDTLS_ECP_DP_CURVE448_ENABLED': ['!MBEDTLS_ECDSA_C',
|
||||||
'!MBEDTLS_ECDSA_DETERMINISTIC',
|
'!MBEDTLS_ECDSA_DETERMINISTIC',
|
||||||
'!MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED',
|
'!MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED',
|
||||||
@ -376,11 +375,9 @@ Each job runs the specified commands."""
|
|||||||
|
|
||||||
class DualDomain(ExclusiveDomain, ComplementaryDomain): # pylint: disable=too-few-public-methods
|
class DualDomain(ExclusiveDomain, ComplementaryDomain): # pylint: disable=too-few-public-methods
|
||||||
"""A domain that contains both the ExclusiveDomain and BaseDomain tests.
|
"""A domain that contains both the ExclusiveDomain and BaseDomain tests.
|
||||||
Both parent class __init__ calls are performed in any order and
|
Both parent class __init__ calls are performed in any order and
|
||||||
each call adds respective jobs. The job array initialization is done once in
|
each call adds respective jobs. The job array initialization is done once in
|
||||||
BaseDomain, before the parent __init__ calls."""
|
BaseDomain, before the parent __init__ calls."""
|
||||||
def __init__(self, symbols, commands, exclude=None):
|
|
||||||
super().__init__(symbols, commands, exclude)
|
|
||||||
|
|
||||||
class CipherInfo: # pylint: disable=too-few-public-methods
|
class CipherInfo: # pylint: disable=too-few-public-methods
|
||||||
"""Collect data about cipher.h."""
|
"""Collect data about cipher.h."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user