all.sh: add exception for ASN1_PARSE_C in check_test_dependencies

There is no PSA equivalent to ASN1 legacy symbols.

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 44930d2..41faaee 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -1059,11 +1059,16 @@
     echo "!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH" >> $expected
     # No PSA equivalent - used to skip decryption tests in PSA-ECB, CBC/XTS/NIST_KW/DES
     echo "!MBEDTLS_BLOCK_CIPHER_NO_DECRYPT" >> $expected
-    # This is used by import_rsa_made_up() in test_suite_psa_crypto in order
-    # to build a fake RSA key of the wanted size based on
+    # MBEDTLS_ASN1_WRITE_C is used by import_rsa_made_up() in test_suite_psa_crypto
+    # in order to build a fake RSA key of the wanted size based on
     # PSA_VENDOR_RSA_MAX_KEY_BITS. The legacy module is only used by
     # the test code and that's probably the most convenient way of achieving
     # the test's goal.
+    #
+    # Both MBEDTLS_ASN1_[PARSE|WRITE]_C are used in ECDSA conversion functions
+    # (in psa_util module) and, therefore, also in test_suite_psa_crypto_util.
+    # There is no PSA equivalent for these ASN1 symbols in PSA.
+    echo "MBEDTLS_ASN1_PARSE_C" >> $expected
     echo "MBEDTLS_ASN1_WRITE_C" >> $expected
     # No PSA equivalent - we should probably have one in the future.
     echo "MBEDTLS_ECP_RESTARTABLE" >> $expected