Make PAKE compliant with the PSA Crypto 1.2 API #507

Open
opened 2025-10-08 11:21:17 -05:00 by gilles-peskine-arm · 0 comments
gilles-peskine-arm commented 2025-10-08 11:21:17 -05:00 (Migrated from github.com)

The goal of this issue is pass all JPAKE tests in psa-arch-tests (version 25.02 or above).

As of TF-PSA-Crypto 1.0.0, the following failures are known:

The goal of this issue is pass all JPAKE tests in psa-arch-tests (version 25.02 or above). As of TF-PSA-Crypto 1.0.0, the following failures are known: * Null pointer dereferences due to bad data in some test cases. I have fixes for those in https://github.com/gilles-peskine-arm/psa-arch-tests/tree/fix-memory-errors-20251001-25.02 (specifically https://github.com/gilles-peskine-arm/psa-arch-tests/commit/7cefe6d85aa4ddc58cfc71ba4495ec12f2ab99d8) which I intend to upstream. * One cause of failure in several positive test cases: [we only accept some very specific strings as user ID and peer ID](https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/502). * Some test cases fail because we return the wrong error code, or detect bad parameters at the wrong step.
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#507
No description provided.