Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tls_credentials_keygen_store.h File Reference

Key store interface of the TLS credentials on-device key generation. More...

#include <stdbool.h>
#include <stddef.h>
#include <zephyr/net/tls_credentials_keygen.h>
#include <psa/crypto.h>

Go to the source code of this file.

Functions

int tls_credential_keygen_store_attr_set (enum tls_credential_keygen_type type, psa_key_attributes_t *attr)
 Set the lifetime of a key that is generated.
int tls_credential_keygen_store_id_alloc (sec_tag_t tag, enum tls_credential_keygen_type type, const psa_key_id_t *used, size_t used_count, psa_key_id_t *key_id)
 Allocate a key ID for a key that is generated.
int tls_credential_keygen_store_id_pick (size_t count, psa_key_id_t(*key_id_at)(size_t index), const psa_key_id_t *used, size_t used_count, psa_key_id_t *key_id)
 Pick a free key ID for a key store.
bool tls_credential_keygen_store_id_is_own (psa_key_id_t key_id)
 Check whether a key ID belongs to the key store.

Detailed Description

Key store interface of the TLS credentials on-device key generation.