mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 00:18:06 -04:00
Add warning to mbedtls_ecp_set_max_ops()
Using PSA interruptible interfaces will cause previously set values to be overwritten. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
21c3951139
commit
5686533ba2
@ -472,6 +472,12 @@ mbedtls_ecp_keypair;
|
|||||||
* only enabled for specific sides and key exchanges
|
* only enabled for specific sides and key exchanges
|
||||||
* (currently only for clients and ECDHE-ECDSA).
|
* (currently only for clients and ECDHE-ECDSA).
|
||||||
*
|
*
|
||||||
|
* \warning Using the PSA interruptible interfaces with keys in local
|
||||||
|
* storage and no accelerator driver will also call this
|
||||||
|
* function to set the values specified via those interfaces,
|
||||||
|
* overwriting values previously set. Care should be taken if
|
||||||
|
* mixing these two interfaces.
|
||||||
|
*
|
||||||
* \param max_ops Maximum number of basic operations done in a row.
|
* \param max_ops Maximum number of basic operations done in a row.
|
||||||
* Default: 0 (unlimited).
|
* Default: 0 (unlimited).
|
||||||
* Lower (non-zero) values mean ECC functions will block for
|
* Lower (non-zero) values mean ECC functions will block for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user