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

◆ cc3xx_rsa_psa_priv_to_psa_publ()

psa_status_t cc3xx_rsa_psa_priv_to_psa_publ ( uint8_t * priv_key_buffer,
size_t priv_key_buffer_size,
uint8_t * publ_key_buffer,
size_t publ_key_buffer_size,
size_t * publ_key_buffer_length )

Extract the public key from the private key in PSA format.

Parameters
[in]priv_key_bufferBuffer holding the private key
[in]priv_key_buffer_sizeSize in bytes of the private key buffer
[out]publ_key_bufferBuffer to hold the extracted public key
[in]publ_key_buffer_sizeSize in bytes of the public key buffer
[out]publ_key_buffer_lengthSize in bytes of the extracted public key
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure