ARM-software / psa-api

Documentation source and development of the PSA Certified API
https://arm-software.github.io/psa-api/
Other
59 stars 27 forks source link

Adding Iterator and rename functions #148

Open MarcusJGStreets opened 10 months ago

MarcusJGStreets commented 10 months ago

Added in PS storage initially. If thee is need for them in ITS, the same additions can be made there

athoelke commented 7 months ago

The merge of main back into this branch has no effect because Git believes that the relevant changes have previously been merged, and this branch has then made changes after that merge.

To repair the inadvertent 'revert' changes to some of the source files will require more effort.

MarcusJGStreets commented 7 months ago

Added in PS storage initially. If thee is need for them in ITS, the same additions can be made there

Now added to ITS

MarcusJGStreets commented 4 months ago

Updates with clarifications that iterator start returns a pointer to a new context. And split the support iterator macro into ITS and PS for compile time detection.

athoelke commented 4 months ago

While working through the issues for this addition: I wonder if we should improve the text for the optional 1.0 functions psa_ps_create() and psa_ps_set_extended()?

The current wording is not clear whether an implementation that does not support these functions must provide definitions of them in a header file (perhaps with inline implementations), and so ensure that an application that references these functions will compile?

What does TF-M do?