Loading...
Searching...
No Matches
psa_crypto_cbor_encoder.h File Reference

Detailed Description

+ Include dependency graph for psa_crypto_cbor_encoder.h:

Go to the source code of this file.

Macros

#define CBOR_BUF_SIZE_START
 Required size of CBOR output buffer from start to end of attributes.
 

Functions

psa_status_t psa_encode_key_slot (psa_key_slot_t *slot, uint8_t *output, size_t output_len, size_t *output_size)
 Encodes a basic key slot in CBOR.
 
psa_status_t psa_decode_key_slot_data (psa_key_slot_t *slot, uint8_t *cbor_buf, size_t cbor_buf_size)
 Decode CBOR encoded key data and write to PSA key slot.
 
psa_status_t psa_decode_key_attributes (psa_key_attributes_t *attr, uint8_t *cbor_buf, size_t cbor_buf_size)
 Decode CBOR PSA key attributes.