-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config check fail despite prerequisites being fulfilled #1412
Comments
Duplicate of #941 |
This was referenced Sep 12, 2018
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Feb 28, 2019
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Jul 2, 2020
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Jul 2, 2020
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Jul 2, 2020
Fix Mbed-TLS#941, Mbed-TLS#1412, Mbed-TLS#1147, Mbed-TLS#2017 Signed-off-by: Gilles Peskine <[email protected]>
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Jul 2, 2020
Fix Mbed-TLS#941, Mbed-TLS#1412, Mbed-TLS#1147, Mbed-TLS#2017 Signed-off-by: Gilles Peskine <[email protected]>
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Jul 2, 2020
Fix Mbed-TLS#941, Mbed-TLS#1412, Mbed-TLS#1147, Mbed-TLS#2017 Signed-off-by: Gilles Peskine <[email protected]>
gilles-peskine-arm
added a commit
to gilles-peskine-arm/mbedtls
that referenced
this issue
Jul 22, 2020
Fix Mbed-TLS#941, Mbed-TLS#1412, Mbed-TLS#1147, Mbed-TLS#2017 Signed-off-by: Gilles Peskine <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Disabling all elliptic curves besides
MBEDTLS_ECP_DP_CURVE25519_ENABLED
doesn't fulfill the requirements ofMBEDTLS_ECP_C
, despite the description mentioning onlyMBEDTLS_BIGNUM_C
(enabled) andat least one MBEDTLS_ECP_DP_XXX_ENABLED
.Bug
mbed TLS build:
Version: 1bf6123
Expected behavior
mbedTLS compiles with all but one curve being enabled, as shown below.
Actual behavior
Compilation fail with error message
../include/mbedtls/check_config.h:122:2: error: #error "MBEDTLS_ECP_C defined, but not all prerequisites"
Steps to reproduce
Disable most curves, while letting
MBEDTLS_ECP_DP_CURVE25519_ENABLED
defined.check_config.h
will then check the requirements ofMBEDTLS_ECP_C
which are missing this specific curve, despite the documentation implying otherwiseQuestion
Is this behavior intentional?
I can prepare a PR to add
MBEDTLS_ECP_DP_CURVE25519_ENABLED
to the check if that's simply an oversight.The text was updated successfully, but these errors were encountered: