|
36 | 36 | * @retval PSA_ERROR_NOT_PERMITTED An entry associated with the provided `uid` already
|
37 | 37 | * exists and was created with `PSA_STORAGE_FLAG_WRITE_ONCE`.
|
38 | 38 | * @retval PSA_ERROR_NOT_SUPPORTED One or more of the flags provided in `create_flags`
|
39 |
| - * are not supported or invalid. |
| 39 | + * are not supported or not valid. |
40 | 40 | * @retval PSA_ERROR_INVALID_ARGUMENT One or more arguments other than `create_flags` are
|
41 | 41 | * invalid.
|
42 | 42 | * @retval PSA_ERROR_INSUFFICIENT_STORAGE There is insufficient space on the storage medium.
|
@@ -67,8 +67,8 @@ psa_status_t psa_ps_set(psa_storage_uid_t uid, size_t data_length,
|
67 | 67 | *
|
68 | 68 | * @retval PSA_SUCCESS The operation completed successfully.
|
69 | 69 | * @retval PSA_ERROR_GENERIC_ERROR An unspecified internal failure happened.
|
70 |
| - * @retval PSA_ERROR_INVALID_ARGUMENT One or more of the arguments are invalid. This can also |
71 |
| - * happen if `data_offset` is larger than the size of the data |
| 70 | + * @retval PSA_ERROR_INVALID_ARGUMENT One or more arguments are invalid. This can also happen |
| 71 | + * if `data_offset` is larger than the size of the data |
72 | 72 | * associated with `uid`.
|
73 | 73 | * @retval PSA_ERROR_DOES_NOT_EXIST The provided `uid` was not found in the storage.
|
74 | 74 | * @retval PSA_ERROR_STORAGE_FAILURE The physical storage has failed (fatal error).
|
@@ -98,7 +98,7 @@ psa_status_t psa_ps_get(psa_storage_uid_t uid, size_t data_offset,
|
98 | 98 | *
|
99 | 99 | * @retval PSA_SUCCESS The operation completed successfully.
|
100 | 100 | * @retval PSA_ERROR_GENERIC_ERROR An unspecified internal failure happened.
|
101 |
| - * @retval PSA_ERROR_INVALID_ARGUMENT One or more of the arguments are invalid. |
| 101 | + * @retval PSA_ERROR_INVALID_ARGUMENT `uid` is invalid. |
102 | 102 | * @retval PSA_ERROR_DOES_NOT_EXIST The provided `uid` was not found in the storage.
|
103 | 103 | * @retval PSA_ERROR_STORAGE_FAILURE The physical storage has failed (fatal error).
|
104 | 104 | * @retval PSA_ERROR_INVALID_SIGNATURE The data associated with `uid` failed authentication.
|
@@ -159,8 +159,8 @@ psa_status_t psa_ps_remove(psa_storage_uid_t uid)
|
159 | 159 | * @retval PSA_SUCCESS The operation completed successfully.
|
160 | 160 | * @retval PSA_ERROR_GENERIC_ERROR An unspecified internal failure happened.
|
161 | 161 | * @retval PSA_ERROR_NOT_SUPPORTED The implementation doesn't support this function or one
|
162 |
| - * or more of the flags provided in `create_flags` are not |
163 |
| - * supported or invalid. |
| 162 | + * or more of the flags provided in `create_flags` |
| 163 | + * are not supported or not valid. |
164 | 164 | * @retval PSA_ERROR_INVALID_ARGUMENT `uid` is invalid.
|
165 | 165 | * @retval PSA_ERROR_ALREADY_EXISTS An entry with the provided `uid` already exists.
|
166 | 166 | * @retval PSA_ERROR_INSUFFICIENT_STORAGE There is insufficient space on the storage medium.
|
@@ -198,7 +198,7 @@ psa_status_t psa_ps_create(psa_storage_uid_t uid, size_t capacity,
|
198 | 198 | * @retval PSA_ERROR_GENERIC_ERROR An unspecified internal failure happened.
|
199 | 199 | * @retval PSA_ERROR_NOT_PERMITTED The entry was created with `PSA_STORAGE_FLAG_WRITE_ONCE`.
|
200 | 200 | * @retval PSA_ERROR_NOT_SUPPORTED The implementation doesn't support this function.
|
201 |
| - * @retval PSA_ERROR_INVALID_ARGUMENT One or more of the arguments are invalid. |
| 201 | + * @retval PSA_ERROR_INVALID_ARGUMENT One or more arguments are invalid. |
202 | 202 | * @retval PSA_ERROR_DOES_NOT_EXIST The provided `uid` was not found in the storage.
|
203 | 203 | * @retval PSA_ERROR_STORAGE_FAILURE The physical storage has failed (fatal error).
|
204 | 204 | * @retval PSA_ERROR_INVALID_SIGNATURE The data associated with `uid` failed authentication.
|
|
0 commit comments