mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Improve comments for interuptible key agreement APIs
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
bb0683274b
commit
b16edbef72
@ -8144,7 +8144,7 @@ psa_status_t psa_generate_key_iop_setup(
|
|||||||
|
|
||||||
operation->num_ops = 0;
|
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;
|
operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
|
||||||
|
|
||||||
status = mbedtls_psa_generate_key_iop_setup(&operation->ctx, attributes);
|
status = mbedtls_psa_generate_key_iop_setup(&operation->ctx, attributes);
|
||||||
|
@ -4360,8 +4360,9 @@ typedef struct psa_verify_hash_interruptible_operation_s psa_verify_hash_interru
|
|||||||
* time. The only guarantee is that lower values
|
* time. The only guarantee is that lower values
|
||||||
* for \p max_ops means functions will block for a
|
* for \p max_ops means functions will block for a
|
||||||
* lesser maximum amount of time. The functions
|
* lesser maximum amount of time. The functions
|
||||||
* \c psa_sign_interruptible_get_num_ops() and
|
* \c psa_sign_interruptible_get_num_ops(),
|
||||||
* \c psa_verify_interruptible_get_num_ops() are
|
* \c psa_verify_interruptible_get_num_ops() and
|
||||||
|
* \c psa_generate_key_iop_get_num_ops() are
|
||||||
* provided to help with tuning this value.
|
* provided to help with tuning this value.
|
||||||
*
|
*
|
||||||
* \note This value defaults to
|
* \note This value defaults to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user