mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
analyze_outcomes: ignore asn1parse and asn1write in result analysis
By default, we disable ASN1_[PARSE/WRITE]_C in common_tfm_config. In fact, this is what happens for accelerated p256m driver, which means all asn1[parse/write] tests are skipped in driver_accel test. However, those two macros are automatically enabled for built-in ECDSA via PSA, which means all asn1[parse/write] tests are passed in tfm_config test. This commit simply ignores the whole asn1[parse/write] test suite when analyzing between driver and reference. Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
@ -530,6 +530,8 @@ TASKS = {
|
|||||||
'ignored_suites': [
|
'ignored_suites': [
|
||||||
# Ignore test suites for the modules that are disabled in the
|
# Ignore test suites for the modules that are disabled in the
|
||||||
# accelerated test case.
|
# accelerated test case.
|
||||||
|
'asn1parse',
|
||||||
|
'asn1write',
|
||||||
'ecp',
|
'ecp',
|
||||||
'ecdsa',
|
'ecdsa',
|
||||||
'ecdh',
|
'ecdh',
|
||||||
@ -593,28 +595,6 @@ TASKS = {
|
|||||||
'test_suite_psa_crypto_pake': [
|
'test_suite_psa_crypto_pake': [
|
||||||
'PSA PAKE: ecjpake size macros',
|
'PSA PAKE: ecjpake size macros',
|
||||||
],
|
],
|
||||||
'test_suite_asn1parse': [
|
|
||||||
# This test depends on BIGNUM_C
|
|
||||||
'INTEGER too large for mpi',
|
|
||||||
],
|
|
||||||
'test_suite_asn1write': [
|
|
||||||
# Following tests depends on BIGNUM_C
|
|
||||||
'ASN.1 Write mpi 0 (1 limb)',
|
|
||||||
'ASN.1 Write mpi 0 (null)',
|
|
||||||
'ASN.1 Write mpi 0x100',
|
|
||||||
'ASN.1 Write mpi 0x7f',
|
|
||||||
'ASN.1 Write mpi 0x7f with leading 0 limb',
|
|
||||||
'ASN.1 Write mpi 0x80',
|
|
||||||
'ASN.1 Write mpi 0x80 with leading 0 limb',
|
|
||||||
'ASN.1 Write mpi 0xff',
|
|
||||||
'ASN.1 Write mpi 1',
|
|
||||||
'ASN.1 Write mpi, 127*8 bits',
|
|
||||||
'ASN.1 Write mpi, 127*8+1 bits',
|
|
||||||
'ASN.1 Write mpi, 127*8-1 bits',
|
|
||||||
'ASN.1 Write mpi, 255*8 bits',
|
|
||||||
'ASN.1 Write mpi, 255*8-1 bits',
|
|
||||||
'ASN.1 Write mpi, 256*8-1 bits',
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user