1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Merge pull request #8891 from Ryan-Everett-arm/document-SE_C-not-threadsafe

Officially document non thread-safety of MBEDTLS_PSA_CRYPTO_SE_C
This commit is contained in:
Paul Elliott
2024-03-13 09:42:49 +00:00
committed by GitHub
3 changed files with 9 additions and 2 deletions

View File

@ -231,8 +231,9 @@ typedef uint16_t psa_crypto_transaction_type_t;
* This type is designed to be serialized by writing the memory representation
* and reading it back on the same device.
*
* \note The transaction mechanism is designed for a single active transaction
* at a time. The transaction object is #psa_crypto_transaction.
* \note The transaction mechanism is not thread-safe. There can only be one
* single active transaction at a time.
* The transaction object is #psa_crypto_transaction.
*
* \note If an API call starts a transaction, it must complete this transaction
* before returning to the application.