Skip to content

Commit b0a3ae2

Browse files
committed
test: ignore compressed points' tests when checking coverage without ECP at all
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
1 parent e165136 commit b0a3ae2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

tests/scripts/analyze_outcomes.py

+22
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,28 @@ def do_analyze_driver_vs_reference(outcome_file, args):
302302
# case above.
303303
('Key ASN1 (OneAsymmetricKey X25519, doesn\'t match masking '
304304
'requirements, from RFC8410 Appendix A but made into version 0)'),
305+
# When PK_PARSE_C and ECP_C are defined then PK_PARSE_EC_COMPRESSED
306+
# is automatically enabled in build_info.h (backward compatibility)
307+
# even if it is disabled in config_psa_crypto_no_ecp_at_all(). As a
308+
# consequence compressed points are supported in the reference
309+
# component but not in the accelerated one, so they should be skipped
310+
# while checking driver's coverage.
311+
'Parse EC Key #10a (SEC1 PEM, secp384r1, compressed)',
312+
'Parse EC Key #11a (SEC1 PEM, secp521r1, compressed)',
313+
'Parse EC Key #12a (SEC1 PEM, bp256r1, compressed)',
314+
'Parse EC Key #13a (SEC1 PEM, bp384r1, compressed)',
315+
'Parse EC Key #14a (SEC1 PEM, bp512r1, compressed)',
316+
'Parse EC Key #2a (SEC1 PEM, secp192r1, compressed)',
317+
'Parse EC Key #8a (SEC1 PEM, secp224r1, compressed)',
318+
'Parse EC Key #9a (SEC1 PEM, secp256r1, compressed)',
319+
'Parse Public EC Key #2a (RFC 5480, PEM, secp192r1, compressed)',
320+
'Parse Public EC Key #3a (RFC 5480, secp224r1, compressed)',
321+
'Parse Public EC Key #4a (RFC 5480, secp256r1, compressed)',
322+
'Parse Public EC Key #5a (RFC 5480, secp384r1, compressed)',
323+
'Parse Public EC Key #6a (RFC 5480, secp521r1, compressed)',
324+
'Parse Public EC Key #7a (RFC 5480, brainpoolP256r1, compressed)',
325+
'Parse Public EC Key #8a (RFC 5480, brainpoolP384r1, compressed)',
326+
'Parse Public EC Key #9a (RFC 5480, brainpoolP512r1, compressed)',
305327
],
306328
}
307329
}

0 commit comments

Comments
 (0)