Fix SHA512 vs SHA384 dependencies
When building SHA512 without SHA384, there are some code paths that resulted in unused variables or usage of undefined code. This commit fixes that. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
228b12ce54
commit
eabeb30c65
4 changed files with 28 additions and 11 deletions
|
@ -243,6 +243,7 @@ REVERSE_DEPENDENCIES = {
|
|||
EXCLUSIVE_GROUPS = {
|
||||
'MBEDTLS_SHA224_C': ['MBEDTLS_SHA256_C'],
|
||||
'MBEDTLS_SHA384_C': ['MBEDTLS_SHA512_C'],
|
||||
'MBEDTLS_SHA512_C': ['!MBEDTLS_SSL_COOKIE_C'],
|
||||
'MBEDTLS_ECP_DP_CURVE448_ENABLED': ['!MBEDTLS_ECDSA_C',
|
||||
'!MBEDTLS_ECDSA_DETERMINISTIC',
|
||||
'!MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue