![]() |
nrfxlib API 3.3.99
|
| psa_status_t cc3xx_ecdh_calc_secret_mont | ( | const uint8_t * | priv_key, |
| size_t | priv_key_size, | ||
| const uint8_t * | publ_key, | ||
| size_t | publ_key_size, | ||
| uint8_t * | secret, | ||
| size_t * | secret_size ) |
Calculate a shared secret value (Montgomery)
| [in] | priv_key | Priv. key |
| [in] | priv_key_size | Priv. key size |
| [in] | publ_key | Publ. key |
| [in] | publ_key_size | Publ. key size |
| [out] | secret | Shared secret value |
| [out] | secret_size | Shared secret value size |
| PSA_SUCCESS | |
| PSA_ERROR_NOT_SUPPORTED | |
| PSA_ERROR_INVALID_ARGUMENT |