nrfxlib API 0.1.0
|
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.
[in] | attributes | Attributes of the key to use |
[in] | key_buffer | Buffer to hold the generated key |
[in] | key_buffer_size | Size in bytes of the key_buffer buffer |
[out] | data | Buffer to hold the extracted public key |
[in] | data_size | Size in bytes of the data buffer |
[out] | data_length | Size in bytes of the extracted public key |
PSA_SUCCESS | on success. Error code from psa_status_t on failure |