Use DER encoded keys with tinycrypt

PEM and BASE64 aren't used with baremetal config by default
and using DER encoded key enables the test without enabling PEM
and BASE64.
This commit is contained in:
Jarno Lamsa 2019-10-30 14:44:05 +02:00
parent 6ba32cac5c
commit 77c4fcc96e
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -154,7 +154,7 @@ mbedtls_pk_check_pair:"data_files/ec_256_pub.pem":"data_files/server5.key":MBEDT
Check pair #2 (EC, bad, TinyCrypt)
depends_on:MBEDTLS_USE_TINYCRYPT
mbedtls_pk_check_pair:"data_files/ec_256_pub.pem":"data_files/server5.key":MBEDTLS_ERR_PK_BAD_INPUT_DATA
mbedtls_pk_check_pair:"data_files/ec_256_pub.der":"data_files/server5.key.der":MBEDTLS_ERR_PK_BAD_INPUT_DATA
Check pair #3 (RSA, OK)
depends_on:MBEDTLS_RSA_C:MBEDTLS_PKCS1_V15