mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-23 21:50:34 +08:00
Clarify ops used reset logic
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
9bcfd8981e
commit
8e412871c1
@ -4961,6 +4961,12 @@ uint32_t psa_key_agreement_iop_get_num_ops(psa_key_agreement_iop_t *operation);
|
|||||||
* calling `psa_get_key_attributes()` with
|
* calling `psa_get_key_attributes()` with
|
||||||
* the key's identifier.
|
* the key's identifier.
|
||||||
*
|
*
|
||||||
|
* \note This function clears the number of ops completed
|
||||||
|
* as part of the operation. Please ensure you copy
|
||||||
|
* this value via
|
||||||
|
* \c psa_key_agreement_iop_get_num_ops() if
|
||||||
|
* required before calling.
|
||||||
|
*
|
||||||
* \retval #PSA_SUCCESS
|
* \retval #PSA_SUCCESS
|
||||||
* The operation started successfully - please call \c
|
* The operation started successfully - please call \c
|
||||||
* psa_key_agreement_iop_complete() with the same context to complete
|
* psa_key_agreement_iop_complete() with the same context to complete
|
||||||
@ -5117,9 +5123,9 @@ psa_status_t psa_key_agreement_iop_complete(
|
|||||||
* at any point. It is not bound by the usual
|
* at any point. It is not bound by the usual
|
||||||
* interface stability promises.
|
* interface stability promises.
|
||||||
*
|
*
|
||||||
* \note This function is the only function that clears
|
* \note This function clears the number of ops completed
|
||||||
* the number of ops completed as part of the
|
* as part of the operation. Please ensure you copy
|
||||||
* operation. Please ensure you copy this value via
|
* this value via
|
||||||
* \c psa_key_agreement_iop_get_num_ops() if
|
* \c psa_key_agreement_iop_get_num_ops() if
|
||||||
* required before calling.
|
* required before calling.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user