Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ps.h
Go to the documentation of this file.
1/* Copyright (c) 2024 Nordic Semiconductor
2 * SPDX-License-Identifier: Apache-2.0
3 */
4#ifndef SECURE_STORAGE_PS_H
5#define SECURE_STORAGE_PS_H
6
14#include <psa/storage_common.h>
15
18 const void *p_data, psa_storage_create_flags_t create_flags);
19
22 size_t data_length, void *p_data, size_t *p_data_length);
23
26 struct psa_storage_info_t *p_info);
27
30
33 psa_storage_create_flags_t create_flags);
34
37 size_t data_length, const void *p_data);
38
39#endif
psa_status_t secure_storage_ps_get(const psa_storage_uid_t uid, size_t data_offset, size_t data_length, void *p_data, size_t *p_data_length)
See psa_ps_get(), to which this function is analogous.
psa_status_t secure_storage_ps_set(const psa_storage_uid_t uid, size_t data_length, const void *p_data, psa_storage_create_flags_t create_flags)
See psa_ps_set(), to which this function is analogous.
psa_status_t secure_storage_ps_set_extended(psa_storage_uid_t uid, size_t data_offset, size_t data_length, const void *p_data)
See psa_ps_set_extended(), to which this function is analogous.
psa_status_t secure_storage_ps_create(psa_storage_uid_t uid, size_t capacity, psa_storage_create_flags_t create_flags)
See psa_ps_create(), to which this function is analogous.
psa_status_t secure_storage_ps_remove(const psa_storage_uid_t uid)
See psa_ps_remove(), to which this function is analogous.
psa_status_t secure_storage_ps_get_info(const psa_storage_uid_t uid, struct psa_storage_info_t *p_info)
See psa_ps_get_info(), to which this function is analogous.
Common definitions of the PSA Secure Storage API.
uint32_t psa_storage_create_flags_t
Flags used when creating an entry.
Definition storage_common.h:26
uint64_t psa_storage_uid_t
UID type for identifying entries.
Definition storage_common.h:23
Metadata associated with a specific entry.
Definition storage_common.h:38
int32_t psa_status_t
Definition error.h:13