Does include of mldsa.h need conditional directive? #914

Open
opened 2026-09-23 04:21:21 -05:00 by irwir · 1 comment
irwir commented 2026-09-23 04:21:21 -05:00 (Migrated from github.com)
https://github.com/Mbed-TLS/TF-PSA-Crypto/blob/6059452aeb69ae7bb1ec63163419daa2f9a180ee/dispatch/psa_crypto_driver_wrappers_no_static.h#L15 Comparing this to another header in the same directory: https://github.com/Mbed-TLS/TF-PSA-Crypto/blob/6059452aeb69ae7bb1ec63163419daa2f9a180ee/include/psa/crypto_driver_contexts_composites.h#L34-L36
gilles-peskine-arm commented 2026-09-23 04:50:25 -05:00 (Migrated from github.com)

Eventually yes. At the moment, the internal header defines some macros (algorithm encoding, sizes) that should normally in public headers, but are they not yet in public headers because we don't have MLDSA at the API level. So the internal header is needed in more places.

Eventually yes. At the moment, the internal header defines some macros (algorithm encoding, sizes) that should normally in public headers, but are they not yet in public headers because we don't have MLDSA at the API level. So the internal header is needed in more places.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/TF-PSA-Crypto#914
No description provided.