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

Return value

#PSA_SUCCESS The driver was successfully registered. Applications can now use \p location to access keys through the methods passed to this function. #PSA_ERROR_BAD_STATE This function was called after the initialization of the cryptography module, and this implementation does not support driver registration at this stage. #PSA_ERROR_ALREADY_EXISTS There is already a registered driver for this value of \p location. #PSA_ERROR_INVALID_ARGUMENT \p location is a reserved value. #PSA_ERROR_NOT_SUPPORTED `methods->hal_version` is not supported by this implementation. #PSA_ERROR_INSUFFICIENT_MEMORY #PSA_ERROR_NOT_PERMITTED #PSA_ERROR_STORAGE_FAILURE #PSA_ERROR_DATA_CORRUPT

Notes

Implementations store metadata about keys including the lifetime value, which contains the driver's location indicator. Therefore, from one instantiation of the PSA Cryptography library to the next one, if there is a key in storage with a certain lifetime value, you must always register the same driver (or an updated version that communicates with the same secure element) with the same location value.

References

from examples