8#ifndef CC3XX_PSA_KEY_GENERATION_H
9#define CC3XX_PSA_KEY_GENERATION_H
19#include "psa/crypto.h"
37 uint8_t *key_buffer,
size_t key_buffer_size,
38 size_t *key_buffer_length);
53 const uint8_t *key_buffer,
54 size_t key_buffer_size, uint8_t *data,
55 size_t data_size,
size_t *data_length);
72 const uint8_t *data,
size_t data_length,
73 uint8_t *key_buffer,
size_t key_buffer_size,
74 size_t *key_buffer_length,
size_t *key_bits );
psa_status_t cc3xx_import_key(const psa_key_attributes_t *attributes, const uint8_t *data, size_t data_length, uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length, size_t *key_bits)
Import a key.
psa_status_t cc3xx_export_public_key(const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, uint8_t *data, size_t data_size, size_t *data_length)
Export the public key from a private key.
psa_status_t cc3xx_generate_key(const psa_key_attributes_t *attributes, uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length)
Generate a random key.