69#ifndef __TC_ECC_DH_H__
70#define __TC_ECC_DH_H__
94int uECC_make_key(uint8_t *p_public_key, uint8_t *p_private_key, uECC_Curve curve);
104int uECC_make_key_with_d(uint8_t *p_public_key, uint8_t *p_private_key,
105 unsigned int *d, uECC_Curve curve);
125 uint8_t *p_secret, uECC_Curve curve);
– Interface to common ECC functions.
int uECC_shared_secret(const uint8_t *p_public_key, const uint8_t *p_private_key, uint8_t *p_secret, uECC_Curve curve)
Compute a shared secret given your secret key and someone else's public key.
Definition ecc_dh.c:144
int uECC_make_key(uint8_t *p_public_key, uint8_t *p_private_key, uECC_Curve curve)
Create a public/private key pair.
Definition ecc_dh.c:102