Skip to content

Commit

Permalink
Merge pull request #7901 from tgonzalezorlandoarm/tg/7879-backport
Browse files Browse the repository at this point in the history
Backport 2.28: tests/test_suite_pem: Augment DES test cases with AES: PEM
  • Loading branch information
gilles-peskine-arm authored Jul 10, 2023
2 parents 814a14a + 991c49f commit 76a54ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/suites/test_suite_pem.data
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ mbedtls_pem_read_buffer:"^":"$":"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-EDE3
PEM read (DES-CBC + invalid iv)
mbedtls_pem_read_buffer:"^":"$":"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: DES-CBC,00$":"pwd":MBEDTLS_ERR_PEM_INVALID_ENC_IV

PEM read (AES-128-CBC + invalid iv)
depends_on:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_AES_C
mbedtls_pem_read_buffer:"^":"$":"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: AES-128-CBC,00$":"pwd":MBEDTLS_ERR_PEM_INVALID_ENC_IV

PEM read (unknown encryption algorithm)
depends_on:MBEDTLS_AES_C
mbedtls_pem_read_buffer:"^":"$":"^\nProc-Type\: 4,ENCRYPTED\nDEK-Info\: AES-,00$":"pwd":MBEDTLS_ERR_PEM_UNKNOWN_ENC_ALG
Expand Down

0 comments on commit 76a54ff

Please sign in to comment.