Use 1024-bit ESA key in PKCS#11 tests

This avoids an in-your-face warning about small key sizes with SoftHSM 2.0.
This commit is contained in:
Gilles Peskine 2018-01-22 08:25:52 +01:00 committed by Andrzej Kurek
parent 8b586af38b
commit 72a0789e63

View file

@ -27,7 +27,7 @@
} \
} while( 0 )
#define RSA_KEY_SIZE_BITS 512
#define RSA_KEY_SIZE_BITS 1024
#define RSA_KEY_SIZE_BYTES ( ( RSA_KEY_SIZE_BITS + 7 ) / 8 )
#define ECP_GROUP_ID MBEDTLS_ECP_DP_SECP256R1
#define ECP_GROUP_NAME( id ) #id