psa_unregister_read_under_mutex() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

#PSA_SUCCESS \p slot is NULL or the key slot reader counter has been decremented (and potentially wiped) successfully. #PSA_ERROR_CORRUPTION_DETECTED The slot's state was neither PSA_SLOT_FULL nor PSA_SLOT_PENDING_DELETION. Or a wipe was attempted and the slot's state was not PSA_SLOT_PENDING_DELETION. Or registered_readers was equal to 0.

Notes

To ease the handling of errors in retrieving a key slot a NULL input pointer is valid, and the function returns successfully without doing anything in that case.

References

from examples