Skip to content

Test a build with only symmetric cryptography #296

@gilles-peskine-arm

Description

@gilles-peskine-arm

Description

We have no build with only symmetric cryptography anywhere in all.sh. In particular, we never build with MBEDTLS_BIGNUM_C disabled, which happens in the real world either when building with no asymmetric cryptography or when all the asymmetric cryptography comes from ALT implementations that don't use any bignum functions.

This could cause the mbedtls configuration config-ccm-psk-tls1_2.h to fail. As of 9ab7c07, mbed-crypto builds and passes TLS tests with config-ccm-psk-tls1_2.h, but the test_suite_asn1parse fails to build when MBEDTLS_ASN1_PARSE_C is enabled but MBEDTLS_BIGNUM_C is disabled.

We can't test every possible combination of build options, but we should test at least one configuration without the bignum module. I propose to test with all features that don't depend on MBEDTLS_BIGNUM_C.

Issue request type

[ ] Question
[x] Enhancement
[ ] Bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions