nrfxlib API 3.3.99
Loading...
Searching...
No Matches
cc3xx_ecdh_util.h File Reference
#include "psa/crypto.h"

Go to the source code of this file.

Functions

psa_status_t cc3xx_ecdh_calc_secret_wrst (psa_ecc_family_t curve, psa_key_bits_t key_bits, 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, size_t *secret_length)
 Calculate a shared secret value (Short Weierstrass)
 
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)
 

Detailed Description

This file contains the declarations of the internal functions required to perform Elliptic Curve Diffie-Hellman, i.e. ECDH raw key agreement