psa_get_and_lock_key_slot() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

#PSA_SUCCESS \p *p_slot contains a pointer to the key slot containing the description of the key identified by \p key. The key slot counter has been incremented. #PSA_ERROR_BAD_STATE The library has not been initialized. #PSA_ERROR_INVALID_HANDLE \p key is not a valid key identifier. #PSA_ERROR_INSUFFICIENT_MEMORY \p key is a persistent key identifier. The implementation does not have sufficient resources to load the persistent key. This can be due to a lack of empty key slot, or available memory. #PSA_ERROR_DOES_NOT_EXIST There is no key with key identifier \p key. #PSA_ERROR_CORRUPTION_DETECTED \emptydescription #PSA_ERROR_STORAGE_FAILURE \emptydescription #PSA_ERROR_DATA_CORRUPT \emptydescription

References

from examples