diff --git a/docs/getting_started/build-options.rst b/docs/getting_started/build-options.rst index 14eac5ff1..d2d2eb537 100644 --- a/docs/getting_started/build-options.rst +++ b/docs/getting_started/build-options.rst @@ -737,9 +737,9 @@ Common build options +---------------------------+------------------------------------+ | ecdsa | 256 (default), 384 | +---------------------------+------------------------------------+ - | ecdsa-brainpool-regular | unavailable | + | ecdsa-brainpool-regular | 256 (default) | +---------------------------+------------------------------------+ - | ecdsa-brainpool-twisted | unavailable | + | ecdsa-brainpool-twisted | 256 (default) | +---------------------------+------------------------------------+ - ``HASH_ALG``: This build flag enables the user to select the secure hash diff --git a/tools/cert_create/include/key.h b/tools/cert_create/include/key.h index f7adfab2b..83a7b1889 100644 --- a/tools/cert_create/include/key.h +++ b/tools/cert_create/include/key.h @@ -45,8 +45,8 @@ static const unsigned int KEY_SIZES[KEY_ALG_MAX_NUM][KEY_SIZE_MAX_NUM] = { { 2048, 1024, 3072, 4096 }, /* KEY_ALG_RSA */ #ifndef OPENSSL_NO_EC { 256, 384 }, /* KEY_ALG_ECDSA_NIST */ - {}, /* KEY_ALG_ECDSA_BRAINPOOL_R */ - {} /* KEY_ALG_ECDSA_BRAINPOOL_T */ + { 256 }, /* KEY_ALG_ECDSA_BRAINPOOL_R */ + { 256 } /* KEY_ALG_ECDSA_BRAINPOOL_T */ #endif /* OPENSSL_NO_EC */ };