mbedtls/tests
Gilles Peskine d8dc8e29c1 x509parse_crl: more negative test cases
Add a few more negative test cases for mbedtls_x509_crl_parse.
The test data is manually adapted from the existing positive test case
"X509 CRL ASN1 (TBSCertList, sig present)" which decomposes as

305c
 3047                                   tbsCertList TBSCertList
  020100                                version INTEGER OPTIONAL
  300d                                  signatureAlgorithm AlgorithmIdentifier
   06092a864886f70d01010e
   0500
  300f                                  issuer Name
   310d300b0603550403130441424344
  170c303930313031303030303030          thisUpdate Time
  3014                                  revokedCertificates
   3012                                 entry 1
    8202abcd                            userCertificate CertificateSerialNumber
    170c303831323331323335393539        revocationDate Time
 300d                                   signatureAlgorithm AlgorithmIdentifier
  06092a864886f70d01010e
  0500
 03020001                               signatureValue BIT STRING

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-08-12 12:50:42 +02:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:10 +01:00
configs Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00
data_files Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00
git-scripts Use all.sh in pre-push hook 2020-06-23 11:37:04 +02:00
scripts Rename Python scripts to use '_' and not '-' 2020-07-02 12:06:46 +02:00
suites x509parse_crl: more negative test cases 2020-08-12 12:50:42 +02:00
.gitignore
CMakeLists.txt Merge remote-tracking branch 'origin/pr/2293' into mbedtls-2.16 2019-03-05 16:31:02 +00:00
compat.sh Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00
Descriptions.txt
Makefile Merge remote-tracking branch 'origin/pr/2053' into mbedtls-2.16 2019-06-21 15:59:16 +01:00
ssl-opt.sh Update license headers to Apache-2.0 OR GPL-2.0-or-later 2020-06-15 12:48:48 +02:00