Skip to content
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

Naming scheme for crypto tuning options #101

Open
gilles-peskine-arm opened this issue May 22, 2024 · 2 comments
Open

Naming scheme for crypto tuning options #101

gilles-peskine-arm opened this issue May 22, 2024 · 2 comments
Labels
size-s Estimated task size: small (~2d)

Comments

@gilles-peskine-arm
Copy link

gilles-peskine-arm commented May 22, 2024

The goal of this issue is to define a naming scheme for configuration options that tune how cryptography is performed. This excludes cryptographic mechanism selection (PSA_WANT_xxx), driver availability (driver JSON parametrization), and platform options (handled separately).

The relevant boolean options in Mbed TLS 3.6 are:

MBEDTLS_AES_FEWER_TABLES
MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
MBEDTLS_AES_ROM_TABLES
MBEDTLS_CAMELLIA_SMALL_MEMORY
MBEDTLS_ECP_FIXED_POINT_OPTIM
MBEDTLS_ECP_NIST_OPTIM

If any of those options are to be removed or reorganized, this should be tracked as a separate issue.

@gilles-peskine-arm gilles-peskine-arm added the size-s Estimated task size: small (~2d) label May 22, 2024
@gilles-peskine-arm
Copy link
Author

I just found that this already exists in the mbedtls repository. Mbed-TLS/mbedtls#9100

@gilles-peskine-arm gilles-peskine-arm closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
@gilles-peskine-arm
Copy link
Author

The mbedtls issue is a broader study issue, so on second thoughts I'm reopening this one to focus on the options that are being moved and renamed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size-s Estimated task size: small (~2d)
Projects
Status: Mbed TLS 4.0 MUST
Status: Design needed
Status: No status
Development

No branches or pull requests

1 participant