38#ifndef SHARKSSL_PSA_STORAGE_H
39#define SHARKSSL_PSA_STORAGE_H
76 uint8_t *material,
size_t *length,
79 const uint8_t *material,
size_t length);
psa_status_t SharkSslPSAKeyStorage_set(const SharkSslPSAKeyStorage *o)
Register storage, or pass NULL to unregister.
struct SharkSslPSAKeyStorage SharkSslPSAKeyStorage
Platform storage for local persistent keys.
See Choose a SharkSSL API for build scope and the owning API layer.
int32_t psa_status_t
SharkSSL PSA Crypto API 1.4.1/1.5.0 configurable subset.
Definition: crypto.h:57
uint32_t psa_key_id_t
Definition: crypto.h:60
Platform storage for local persistent keys.
Definition: SharkSslPSAStorage.h:73
void * context
Definition: SharkSslPSAStorage.h:74
psa_status_t(* remove)(void *context, psa_key_id_t id)
Definition: SharkSslPSAStorage.h:80
psa_status_t(* create)(void *context, const psa_key_attributes_t *attributes, const uint8_t *material, size_t length)
Definition: SharkSslPSAStorage.h:78
psa_status_t(* read)(void *context, psa_key_attributes_t *attributes, uint8_t *material, size_t *length, psa_key_id_t id, size_t capacity)
Definition: SharkSslPSAStorage.h:75
Attributes are value objects; setters do not allocate resources.
Definition: crypto.h:509