![]() |
nrfxlib API 3.3.99
|
| 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.
| [in] | priv_key_buffer | Buffer holding the private key |
| [in] | priv_key_buffer_size | Size in bytes of the private key buffer |
| [out] | publ_key_buffer | Buffer to hold the extracted public key |
| [in] | publ_key_buffer_size | Size in bytes of the public key buffer |
| [out] | publ_key_buffer_length | Size in bytes of the extracted public key |
| PSA_SUCCESS | on success. Error code from psa_status_t on failure |