SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslPSAFileStorage.h
Go to the documentation of this file.
1
38#ifndef SHARKSSL_PSA_FILE_STORAGE_H
39#define SHARKSSL_PSA_FILE_STORAGE_H
40
42
43#define SHARKSSL_PSA_FILE_WRAPPING_KEY_SIZE 32
44#ifdef __cplusplus
45#define SHARKSSL_PSA_FILE_STORAGE_INIT SharkSslPSAFileStorage()
46#else
47#define SHARKSSL_PSA_FILE_STORAGE_INIT {0}
48#endif
49
50#ifdef __cplusplus
51extern "C" {
52#endif
53
61{
63 void *state;
65
84 const uint8_t wrapping_key[SHARKSSL_PSA_FILE_WRAPPING_KEY_SIZE]);
85
93
94#ifdef __cplusplus
95}
96#endif
97#endif
struct SharkSslPSAFileStorage SharkSslPSAFileStorage
Optional encrypted filesystem adapter for Windows and Linux hosts.
#define SHARKSSL_PSA_FILE_WRAPPING_KEY_SIZE
Definition: SharkSslPSAFileStorage.h:43
void SharkSslPSAFileStorage_close(SharkSslPSAFileStorage *o)
Unregister the callback table and quiesce all operations before close.
psa_status_t SharkSslPSAFileStorage_open(SharkSslPSAFileStorage *o, const char *directory, const uint8_t wrapping_key[SHARKSSL_PSA_FILE_WRAPPING_KEY_SIZE])
Open or create a private directory, locking it exclusively until close.
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
Optional encrypted filesystem adapter for Windows and Linux hosts.
Definition: SharkSslPSAFileStorage.h:61
void * state
Definition: SharkSslPSAFileStorage.h:63
SharkSslPSAKeyStorage storage
Definition: SharkSslPSAFileStorage.h:62
Platform storage for local persistent keys.
Definition: SharkSslPSAStorage.h:73