![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
Go to the source code of this file.
Functions | |
psa_status_t | ps_encrypted_object_read (uint32_t fid, struct ps_object_t *obj) |
Reads object referenced by the object File ID. More... | |
psa_status_t | ps_encrypted_object_write (uint32_t fid, struct ps_object_t *obj) |
Creates and writes a new encrypted object based on the given ps_object_t structure data. More... | |
psa_status_t ps_encrypted_object_read | ( | uint32_t | fid, |
struct ps_object_t * | obj | ||
) |
Reads object referenced by the object File ID.
[in] | fid | File ID |
[out] | obj | Pointer to the object structure to fill in |
Definition at line 135 of file ps_encrypted_object.c.
psa_status_t ps_encrypted_object_write | ( | uint32_t | fid, |
struct ps_object_t * | obj | ||
) |
Creates and writes a new encrypted object based on the given ps_object_t structure data.
[in] | fid | File ID |
[in,out] | obj | Pointer to the object structure to write. |
Note: The function will use obj to store the encrypted data before write it into the flash to reduce the memory requirements and the number of internal copies. So, this object will contain the encrypted object stored in the flash.
Definition at line 162 of file ps_encrypted_object.c.