2020-11-16 20:03:12 +01:00
|
|
|
PKCS7 Signed Data Parse Pass SHA256 #1
|
2022-09-14 17:51:51 +02:00
|
|
|
depends_on:MBEDTLS_SHA256_C:MBEDTLS_RSA_C
|
|
|
|
pkcs7_parse:"data_files/pkcs7_data_cert_signed_sha256.der":MBEDTLS_PKCS7_SIGNED_DATA
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Pass SHA1 #2
|
2022-09-14 17:51:51 +02:00
|
|
|
depends_on:MBEDTLS_SHA1_C:MBEDTLS_SHA256_C:MBEDTLS_RSA_C
|
|
|
|
pkcs7_parse:"data_files/pkcs7_data_cert_signed_sha1.der":MBEDTLS_PKCS7_SIGNED_DATA
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Pass Without CERT #3
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_parse:"data_files/pkcs7_data_without_cert_signed.der":MBEDTLS_PKCS7_SIGNED_DATA
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Fail with multiple certs #4
|
2022-09-14 17:51:51 +02:00
|
|
|
depends_on:MBEDTLS_SHA256_C:MBEDTLS_RSA_C
|
2022-09-14 21:44:03 +02:00
|
|
|
pkcs7_parse:"data_files/pkcs7_data_multiple_certs_signed.der":MBEDTLS_ERR_PKCS7_FEATURE_UNAVAILABLE
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Fail with corrupted cert #5
|
2022-09-14 17:51:51 +02:00
|
|
|
depends_on:MBEDTLS_SHA256_C:MBEDTLS_RSA_C
|
|
|
|
pkcs7_parse:"data_files/pkcs7_data_signed_badcert.der":MBEDTLS_ERR_PKCS7_INVALID_CERT
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Fail with corrupted signer info #6
|
2022-09-14 17:51:51 +02:00
|
|
|
depends_on:MBEDTLS_SHA256_C:MBEDTLS_RSA_C
|
|
|
|
pkcs7_parse:"data_files/pkcs7_data_signed_badsigner.der":MBEDTLS_ERROR_ADD(MBEDTLS_ERR_PKCS7_INVALID_SIGNER_INFO,MBEDTLS_ERR_ASN1_UNEXPECTED_TAG)
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Fail Version other than 1 #7
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_parse:"data_files/pkcs7_data_cert_signed_v2.der":MBEDTLS_ERR_PKCS7_INVALID_VERSION
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Fail Encrypted Content #8
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_parse:"data_files/pkcs7_data_cert_encrypted.der":MBEDTLS_ERR_PKCS7_FEATURE_UNAVAILABLE
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Verification Pass SHA256 #9
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify:"data_files/pkcs7_data_cert_signed_sha256.der":"data_files/pkcs7-rsa-sha256-1.der":"data_files/pkcs7_data.bin":0:0
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Verification Pass SHA256 #9.1
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify:"data_files/pkcs7_data_cert_signed_sha256.der":"data_files/pkcs7-rsa-sha256-1.der":"data_files/pkcs7_data.bin":MBEDTLS_MD_SHA256:0
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Verification Pass SHA1 #10
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA1_C:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify:"data_files/pkcs7_data_cert_signed_sha1.der":"data_files/pkcs7-rsa-sha256-1.der":"data_files/pkcs7_data.bin":0:0
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Verification Pass SHA512 #11
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA512_C:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify:"data_files/pkcs7_data_cert_signed_sha512.der":"data_files/pkcs7-rsa-sha256-1.der":"data_files/pkcs7_data.bin":0:0
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Verification Fail because of different certificate #12
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify:"data_files/pkcs7_data_cert_signed_sha256.der":"data_files/pkcs7-rsa-sha256-2.der":"data_files/pkcs7_data.bin":0:MBEDTLS_ERR_RSA_VERIFY_FAILED
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Verification Fail because of different data hash #13
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify:"data_files/pkcs7_data_cert_signed_sha256.der":"data_files/pkcs7-rsa-sha256-1.der":"data_files/pkcs7_data_1.bin":0:MBEDTLS_ERR_RSA_VERIFY_FAILED
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Failure Corrupt signerInfo.issuer #15.1
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_parse:"data_files/pkcs7_signerInfo_issuer_invalid_size.der":MBEDTLS_ERR_PKCS7_INVALID_SIGNER_INFO
|
2020-11-16 20:03:12 +01:00
|
|
|
|
|
|
|
PKCS7 Signed Data Parse Failure Corrupt signerInfo.serial #15.2
|
2022-02-25 18:54:34 +01:00
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_parse:"data_files/pkcs7_signerInfo_serial_invalid_size.der":MBEDTLS_ERR_PKCS7_INVALID_SIGNER_INFO
|
2020-12-14 23:44:49 +01:00
|
|
|
|
|
|
|
PKCS7 Only Signed Data Parse Pass #15
|
2022-09-14 17:51:51 +02:00
|
|
|
depends_on:MBEDTLS_SHA256_C:MBEDTLS_RSA_C
|
|
|
|
pkcs7_parse:"data_files/pkcs7_data_cert_signeddata_sha256.der":MBEDTLS_PKCS7_SIGNED_DATA
|
2020-09-02 06:48:45 +02:00
|
|
|
|
|
|
|
PKCS7 Signed Data Verify with multiple signers #16
|
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify_multiple_signers:"data_files/pkcs7_data_multiple_signed.der":"data_files/pkcs7-rsa-sha256-1.crt":"data_files/pkcs7-rsa-sha256-2.crt":"data_files/pkcs7_data.bin":0:0
|
2022-07-14 23:24:59 +02:00
|
|
|
|
|
|
|
PKCS7 Signed Data Hash Verify with multiple signers #17
|
|
|
|
depends_on:MBEDTLS_SHA256_C
|
2022-09-14 17:51:51 +02:00
|
|
|
pkcs7_verify_multiple_signers:"data_files/pkcs7_data_multiple_signed.der":"data_files/pkcs7-rsa-sha256-1.crt":"data_files/pkcs7-rsa-sha256-2.crt":"data_files/pkcs7_data.bin":MBEDTLS_MD_SHA256:0
|