Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement interruptible ECC Export Public Key (Headers) #9646

Closed
paul-elliott-arm opened this issue Sep 27, 2024 · 1 comment
Closed

Implement interruptible ECC Export Public Key (Headers) #9646

paul-elliott-arm opened this issue Sep 27, 2024 · 1 comment
Labels
component-psa PSA keystore/dispatch layer (storage, drivers, …) enhancement size-s Estimated task size: small (~2d)

Comments

@paul-elliott-arm
Copy link
Member

paul-elliott-arm commented Sep 27, 2024

Stage 1 of implementing interruptible ECC export public key.

This should involve implementing the documentation and function headers for psa_export_public_key_iop_setup(), psa_export_public_key_iop_complete() and psa_export_public_key_iop_abort() as well as base definition of structs psa_export_public_key_iop_t and psa_export_public_key_iop_s and their corresponding initialisers. Generated files will neeed regenerating to cover these new functions and basic implementations will have to be included, as generated tests will end up calling these tests. These implementations should simply return PSA_ERROR_NOT_IMPLEMENTED.

PSA documentation for interruptible functions here ARM-software/psa-api#199

Function prototypes for reference:

psa_status_t psa_export_public_key_iop_abort(psa_export_public_key_iop_t * operation);
psa_status_t psa_export_public_key_iop_complete(psa_export_public_key_iop_t * operation,
                                                uint8_t * data,
                                                size_t data_size,
                                                size_t * data_length);
uint32_t psa_export_public_key_iop_get_num_ops(psa_export_public_key_iop_t * operation);
psa_export_public_key_iop_t psa_export_public_key_iop_init(void);
psa_status_t psa_export_public_key_iop_setup(psa_export_public_key_iop_t * operation,
                                             psa_key_id_t key);
@paul-elliott-arm paul-elliott-arm added enhancement component-psa PSA keystore/dispatch layer (storage, drivers, …) size-s Estimated task size: small (~2d) labels Sep 27, 2024
@paul-elliott-arm paul-elliott-arm moved this to PSA Interruptible ECC (Part 2) in Mbed TLS Epics Sep 27, 2024
@yanesca
Copy link
Contributor

yanesca commented Nov 26, 2024

Completed by #9778.

@yanesca yanesca closed this as completed Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-psa PSA keystore/dispatch layer (storage, drivers, …) enhancement size-s Estimated task size: small (~2d)
Projects
Status: PSA Interruptible ECC
Development

No branches or pull requests

2 participants