Improve comments for interuptible key agreement APIs

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
Waleed Elmelegy 2024-10-31 16:41:00 +00:00
parent bb0683274b
commit b16edbef72
2 changed files with 4 additions and 3 deletions

View File

@ -8144,7 +8144,7 @@ psa_status_t psa_generate_key_iop_setup(
operation->num_ops = 0;
/* To be removed later when driver dispatch is added. */
/* We only support the builtin/Mbed TLS driver for now. */
operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
status = mbedtls_psa_generate_key_iop_setup(&operation->ctx, attributes);

View File

@ -4360,8 +4360,9 @@ typedef struct psa_verify_hash_interruptible_operation_s psa_verify_hash_interru
* time. The only guarantee is that lower values
* for \p max_ops means functions will block for a
* lesser maximum amount of time. The functions
* \c psa_sign_interruptible_get_num_ops() and
* \c psa_verify_interruptible_get_num_ops() are
* \c psa_sign_interruptible_get_num_ops(),
* \c psa_verify_interruptible_get_num_ops() and
* \c psa_generate_key_iop_get_num_ops() are
* provided to help with tuning this value.
*
* \note This value defaults to