-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: pkwrite: backport of issue 7446
Signed-off-by: Valerio Setti <[email protected]>
- Loading branch information
1 parent
e323fb3
commit f1477da
Showing
13 changed files
with
189 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,95 @@ | ||
Public key write check RSA | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_BASE64_C | ||
pk_write_pubkey_check:"data_files/server1.pubkey" | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C | ||
pk_write_pubkey_check:"data_files/server1.pubkey":TEST_PEM | ||
|
||
Public key write check RSA (DER) | ||
depends_on:MBEDTLS_RSA_C | ||
pk_write_pubkey_check:"data_files/server1.pubkey.der":TEST_DER | ||
|
||
Public key write check RSA 4096 | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_BASE64_C | ||
pk_write_pubkey_check:"data_files/rsa4096_pub.pem" | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C | ||
pk_write_pubkey_check:"data_files/rsa4096_pub.pem":TEST_PEM | ||
|
||
Public key write check RSA 4096 (DER) | ||
depends_on:MBEDTLS_RSA_C | ||
pk_write_pubkey_check:"data_files/rsa4096_pub.der":TEST_DER | ||
|
||
Public key write check EC 192 bits | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_SECP192R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_pub.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_SECP192R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_pub.pem":TEST_PEM | ||
|
||
Public key write check EC 192 bits (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_SECP192R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_pub.der":TEST_DER | ||
|
||
Public key write check EC 521 bits | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_521_pub.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_521_pub.pem":TEST_PEM | ||
|
||
Public key write check EC 521 bits (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_521_pub.der":TEST_DER | ||
|
||
Public key write check EC Brainpool 512 bits | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_BP512R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_bp512_pub.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_BP512R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_bp512_pub.pem":TEST_PEM | ||
|
||
Public key write check EC Brainpool 512 bits (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_BP512R1_ENABLED | ||
pk_write_pubkey_check:"data_files/ec_bp512_pub.der":TEST_DER | ||
|
||
Private key write check RSA | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_BASE64_C | ||
pk_write_key_check:"data_files/server1.key" | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C | ||
pk_write_key_check:"data_files/server1.key":TEST_PEM | ||
|
||
Private key write check RSA (DER) | ||
depends_on:MBEDTLS_RSA_C | ||
pk_write_key_check:"data_files/server1.key.der":TEST_DER | ||
|
||
Private key write check RSA 4096 | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_BASE64_C | ||
pk_write_key_check:"data_files/rsa4096_prv.pem" | ||
depends_on:MBEDTLS_RSA_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C | ||
pk_write_key_check:"data_files/rsa4096_prv.pem":TEST_PEM | ||
|
||
Private key write check RSA 4096 (DER) | ||
depends_on:MBEDTLS_RSA_C | ||
pk_write_key_check:"data_files/rsa4096_prv.der":TEST_DER | ||
|
||
Private key write check EC 192 bits | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_SECP192R1_ENABLED | ||
pk_write_key_check:"data_files/ec_prv.sec1.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_SECP192R1_ENABLED | ||
pk_write_key_check:"data_files/ec_prv.sec1.pem":TEST_PEM | ||
|
||
Private key write check EC 192 bits (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_SECP192R1_ENABLED | ||
pk_write_key_check:"data_files/ec_prv.sec1.der":TEST_DER | ||
|
||
Private key write check EC 256 bits (top bit set) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED | ||
pk_write_key_check:"data_files/ec_256_long_prv.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED | ||
pk_write_key_check:"data_files/ec_256_long_prv.pem":TEST_PEM | ||
|
||
Private key write check EC 256 bits (top bit set) (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_SECP256R1_ENABLED | ||
pk_write_key_check:"data_files/ec_256_long_prv.der":TEST_DER | ||
|
||
Private key write check EC 521 bits | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_key_check:"data_files/ec_521_prv.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_key_check:"data_files/ec_521_prv.pem":TEST_PEM | ||
|
||
Private key write check EC 521 bits (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_key_check:"data_files/ec_521_prv.der":TEST_DER | ||
|
||
Private key write check EC 521 bits (top byte is 0) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_key_check:"data_files/ec_521_short_prv.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_key_check:"data_files/ec_521_short_prv.pem":TEST_PEM | ||
|
||
Private key write check EC 521 bits (top byte is 0) (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_SECP521R1_ENABLED | ||
pk_write_key_check:"data_files/ec_521_short_prv.der":TEST_DER | ||
|
||
Private key write check EC Brainpool 512 bits | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_BASE64_C:MBEDTLS_ECP_DP_BP512R1_ENABLED | ||
pk_write_key_check:"data_files/ec_bp512_prv.pem" | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_PEM_PARSE_C:MBEDTLS_PEM_WRITE_C:MBEDTLS_ECP_DP_BP512R1_ENABLED | ||
pk_write_key_check:"data_files/ec_bp512_prv.pem":TEST_PEM | ||
|
||
Private key write check EC Brainpool 512 bits (DER) | ||
depends_on:MBEDTLS_ECP_C:MBEDTLS_ECP_DP_BP512R1_ENABLED | ||
pk_write_key_check:"data_files/ec_bp512_prv.der":TEST_DER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters