test_psa_compliance: add exception for tests using wrong RSA pub key format

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
diff --git a/tests/scripts/test_psa_compliance.py b/tests/scripts/test_psa_compliance.py
index 0d56ddf..ed36bef 100755
--- a/tests/scripts/test_psa_compliance.py
+++ b/tests/scripts/test_psa_compliance.py
@@ -30,7 +30,12 @@
 EXPECTED_FAILURES = {
     # psa_hash_suspend() and psa_hash_resume() are not supported.
     # - Tracked in issue #3274
-    262, 263
+    262, 263,
+    # PSA standard format for RSA public keys is a sequence of just n (modulus)
+    # and e (public exponent). However following tests rely on a format which
+    # also includes some metadata to identify the key as an RSA key, but this
+    # is not compliant with PSA standard.
+    239, 240, 241, 242, 250, 251,
 }
 
 # We currently use a fork of ARM-software/psa-arch-tests, with a couple of downstream patches