mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 23:04:28 +01:00
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:
parent
6ba32cac5c
commit
77c4fcc96e
BIN
tests/data_files/ec_256_pub.der
Normal file
BIN
tests/data_files/ec_256_pub.der
Normal file
Binary file not shown.
@ -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)
|
Check pair #2 (EC, bad, TinyCrypt)
|
||||||
depends_on:MBEDTLS_USE_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)
|
Check pair #3 (RSA, OK)
|
||||||
depends_on:MBEDTLS_RSA_C:MBEDTLS_PKCS1_V15
|
depends_on:MBEDTLS_RSA_C:MBEDTLS_PKCS1_V15
|
||||||
|
Loading…
Reference in New Issue
Block a user