Page MenuHomePhabricator

List all missing one-shot API tests from the existing TF-M regression
Closed, ResolvedPublic

Description

Add the one-shot API tests to the existing multipart counterpart test. Highlight one-shot tests that should be added from scratch.

Event Timeline

adeaarm triaged this task as Normal priority.Jul 2 2021, 7:10 PM
adeaarm created this task.
adeaarm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
adeaarm added a comment.EditedJul 5 2021, 12:09 PM

Hash: https://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/10544
MAC: Support in mbedtls-2.26.0 for the single-shot APIs is not present. I have a patch to enable the tests and the shim layer in TF-M, I will keep it private until support from the backend side is available somehow for the feature-cc-psa-crypto-drivers dev branch.
Cipher: Support in mbedtls-2.26.0 for the single-shot APIs is not present. I have a patch to enable the tests and the shim layer in TF-M, I will keep it private until support from the backend side is available somehow for the feature-cc-psa-crypto-drivers dev branch.
AEAD: Single-shot APIs for AEAD are already supported, multipart is missing (both in TF-M and in the backend and driver entry points, still pending review in mbedTLS)
No Key agreement single shot API test yet. Need to understand and add it.

Cipher/MAC single-shot APIs patches:

https://review.trustedfirmware.org/q/topic:%22Cipher%252FMAC+single-shot+APIs%22+(status:open%20OR%20status:merged)

Only item left is Key-agreement investigation into usage of single-shot APIs

Single shot key agreement:

https://review.trustedfirmware.org/c/TF-M/tf-m-tests/+/10867

Created a branch in tf-m-tests repo named feature-cc-psa-crypto-drivers to be able to push changes based on an development_2.x flow (rather than using the upgraded mbedtls 3.0 features)

adeaarm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jul 26 2021, 3:44 PM
adeaarm closed this task as Resolved.Aug 2 2021, 2:41 PM
adeaarm moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.