test_suite_pem: solve driver test disparities

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti 2024-02-19 07:42:18 +01:00
parent 4cc6522a85
commit eba4ca19c6
2 changed files with 1 additions and 3 deletions

View file

@ -571,8 +571,7 @@ KNOWN_TASKS = {
'test_suite_pem': [ 'test_suite_pem': [
# Following tests require AES_C, but this is diabled in the # Following tests require AES_C, but this is diabled in the
# accelerated component. # accelerated component.
'PEM read (AES-128-CBC + invalid iv)', re.compile('PEM read .*AES.*'),
'PEM read (malformed PEM AES-128-CBC)',
'PEM read (unknown encryption algorithm)', 'PEM read (unknown encryption algorithm)',
], ],
'test_suite_error': [ 'test_suite_error': [

View file

@ -23,7 +23,6 @@ PEM read (unencrypted, valid)
mbedtls_pem_read_buffer:"^":"$":"^\nTWJlZCBUTFM=\n$":"":0:"4d62656420544c53" mbedtls_pem_read_buffer:"^":"$":"^\nTWJlZCBUTFM=\n$":"":0:"4d62656420544c53"
PEM read (unencrypted, empty content) PEM read (unencrypted, empty content)
depends_on:MBEDTLS_MD_CAN_MD5:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC
mbedtls_pem_read_buffer:"-----BEGIN EC PRIVATE KEY-----":"-----END EC PRIVATE KEY-----":"-----BEGIN EC PRIVATE KEY-----\n\n-----END EC PRIVATE KEY-----":"":MBEDTLS_ERR_PEM_BAD_INPUT_DATA:"" mbedtls_pem_read_buffer:"-----BEGIN EC PRIVATE KEY-----":"-----END EC PRIVATE KEY-----":"-----BEGIN EC PRIVATE KEY-----\n\n-----END EC PRIVATE KEY-----":"":MBEDTLS_ERR_PEM_BAD_INPUT_DATA:""
PEM read (DES-EDE3-CBC + invalid iv) PEM read (DES-EDE3-CBC + invalid iv)