tests: driver wrappers: Fix hash tests dependencies

Take into account that the test driver may not support
hash operations.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2021-04-26 16:11:37 +02:00
parent 05ee58d38a
commit d81796f609

View File

@ -269,7 +269,7 @@ PSA opaque driver builtin pubkey export: not a public key
builtin_pubkey_export:MBEDTLS_PSA_KEY_ID_BUILTIN_MIN:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):256:PSA_ALG_ECDSA(PSA_ALG_ANY_HASH):"0485f64d89f00be66c88dd937efd6d7c445648dcb701150b8a9509295850f41c1931e571fb8f8c78317a20b380e866584bbc2516c3d2702d792f131a922095fd6c":PSA_ERROR_INVALID_ARGUMENT
Hash compute: SHA-256, computed by the driver
depends_on:PSA_WANT_ALG_SHA_256
depends_on:MBEDTLS_PSA_ACCEL_ALG_SHA_256
hash_compute:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_SUCCESS:PSA_SUCCESS
Hash compute: SHA-256, fallback
@ -281,11 +281,10 @@ depends_on:!MBEDTLS_PSA_BUILTIN_ALG_SHA_256
hash_compute:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_NOT_SUPPORTED
Hash compute: SHA-256, INSUFFICIENT_MEMORY
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
hash_compute:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_ERROR_INSUFFICIENT_MEMORY:PSA_ERROR_INSUFFICIENT_MEMORY
Hash multi-part: SHA-256, computed by the driver
depends_on:PSA_WANT_ALG_SHA_256
depends_on:MBEDTLS_PSA_ACCEL_ALG_SHA_256
hash_multipart:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_SUCCESS:PSA_SUCCESS
Hash multi-part: SHA-256, fallback
@ -297,13 +296,12 @@ depends_on:!MBEDTLS_PSA_BUILTIN_ALG_SHA_256
hash_multipart:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_ERROR_NOT_SUPPORTED:PSA_ERROR_NOT_SUPPORTED
Hash multi-part: SHA-256, INSUFFICIENT_MEMORY
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
hash_compute:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_ERROR_INSUFFICIENT_MEMORY:PSA_ERROR_INSUFFICIENT_MEMORY
Hash clone: SHA-256, clone successful
depends_on:PSA_WANT_ALG_SHA_256
depends_on:MBEDTLS_PSA_ACCEL_ALG_SHA_256
hash_clone:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_SUCCESS
Hash clone: SHA-256, clone failure
depends_on:PSA_WANT_ALG_SHA_256
depends_on:MBEDTLS_PSA_ACCEL_ALG_SHA_256
hash_clone:PSA_ALG_SHA_256:"b0bd69":"4096804221093ddccfbf46831490ea63e9e99414858f8d75ff7f642c7ca61803":PSA_ERROR_NOT_SUPPORTED