From 72a0789e63ead41513c790c37350a4cf36730939 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 22 Jan 2018 08:25:52 +0100 Subject: [PATCH] Use 1024-bit ESA key in PKCS#11 tests This avoids an in-your-face warning about small key sizes with SoftHSM 2.0. --- tests/suites/test_suite_pkcs11_client.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_pkcs11_client.function b/tests/suites/test_suite_pkcs11_client.function index 9c16a3536..34800ef1f 100644 --- a/tests/suites/test_suite_pkcs11_client.function +++ b/tests/suites/test_suite_pkcs11_client.function @@ -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