nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ cc3xx_export_public_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.

Parameters
[in]attributesAttributes of the key to use
[in]key_bufferBuffer to hold the generated key
[in]key_buffer_sizeSize in bytes of the key_buffer buffer
[out]dataBuffer to hold the extracted public key
[in]data_sizeSize in bytes of the data buffer
[out]data_lengthSize in bytes of the extracted public key
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure