nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ cc3xx_internal_export_ecc_wrst_public_key()

psa_status_t cc3xx_internal_export_ecc_wrst_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 an ECC Weierstrass private key.

Parameters
[in]attributesAttributes of the key to use
[in]key_bufferBuffer holding the private 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