Page MenuHomePhabricator

List all missing one-shot API tests from the existing TF-M regression
Open, NormalPublic

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.Fri, Jul 2, 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.EditedMon, Jul 5, 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