Incorrrect value of PSA_KEY_TYPE_ML_DSA_PUBLIC_KEY #823

Closed
opened 2026-06-25 03:44:34 -05:00 by AllenLius · 1 comment
AllenLius commented 2026-06-25 03:44:34 -05:00 (Migrated from github.com)

Summary

The value is inconsistent with the PSA crypto spec: https://arm-software.github.io/psa-api/crypto/1.5/IHI0086-PSA_Certified_Crypto_API-1.5.0.pdf

System information

TF-PSA-Crypto version (number or commit id): c35df96204

Expected behavior

drivers/pqcp/src/psa_crypto_mldsa.h
#define PSA_KEY_TYPE_ML_DSA_PUBLIC_KEY ((psa_key_type_t) 0x4002)

Actual behavior

drivers/pqcp/src/psa_crypto_mldsa.h
#define PSA_KEY_TYPE_ML_DSA_PUBLIC_KEY ((psa_key_type_t) 0x6002)

### Summary The value is inconsistent with the PSA crypto spec: https://arm-software.github.io/psa-api/crypto/1.5/IHI0086-PSA_Certified_Crypto_API-1.5.0.pdf ### System information TF-PSA-Crypto version (number or commit id): c35df962041731b08c6ff6a39a59e239c344e1ee ### Expected behavior drivers/pqcp/src/psa_crypto_mldsa.h #define PSA_KEY_TYPE_ML_DSA_PUBLIC_KEY ((psa_key_type_t) **0x4002**) ### Actual behavior drivers/pqcp/src/psa_crypto_mldsa.h #define PSA_KEY_TYPE_ML_DSA_PUBLIC_KEY ((psa_key_type_t) **0x6002**)
gilles-peskine-arm commented 2026-06-28 14:26:49 -05:00 (Migrated from github.com)

Oops. Thanks for reporting this.

Oops. Thanks for reporting this.
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#823
No description provided.