34#define PSA_PS_API_VERSION_MAJOR 1 /**< The major version number of the PSA PS API. It will be incremented on significant updates that may include breaking changes */
35#define PSA_PS_API_VERSION_MINOR 1 /**< The minor version number of the PSA PS API. It will be incremented in small updates that are unlikely to include breaking changes */
36
37
38/**
39 * \brief create a new or modify an existing key/value pair
40 *
41 * \param[in] uid the identifier for the data
42 * \param[in] data_length The size in bytes of the data in `p_data`
43 * \param[in] p_data A buffer containing the data
44 * \param[in] create_flags The flags indicating the properties of the data
45 *
46 * \return A status indicating the success/failure of the operation
47
48 * \retval PSA_SUCCESS The operation completed successfully
49 * \retval PSA_ERROR_NOT_PERMITTED The operation failed because the provided uid value was already created with PSA_STORAGE_WRITE_ONCE_FLAG
50 * \retval PSA_ERROR_INVALID_ARGUMENT The operation failed because one or more of the given arguments were invalid.
51 * \retval PSA_ERROR_NOT_SUPPORTED The operation failed because one or more of the flags provided in `create_flags` is not supported or is not valid
52 * \retval PSA_ERROR_INSUFFICIENT_STORAGE The operation failed because there was insufficient space on the storage medium
53 * \retval PSA_ERROR_STORAGE_FAILURE The operation failed because the physical storage has failed (Fatal error)
54 * \retval PSA_ERROR_GENERIC_ERROR The operation failed because of an unspecified internal failure
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.