69 #ifndef __TC_ECC_DH_H__ 70 #define __TC_ECC_DH_H__ int tc_uECC_make_key_with_d(uint8_t *public_key, uint8_t *private_key, unsigned int *d, tc_uECC_Curve curve)
Definition: tc_ecc_dh.c:68
int tc_uECC_shared_secret(const uint8_t *p_public_key, const uint8_t *p_private_key, uint8_t *p_secret, tc_uECC_Curve curve)
Compute a shared secret given your secret key and someone else's public key.
Definition: tc_ecc_dh.c:144
– Interface to common ECC functions.
int tc_uECC_make_key(uint8_t *p_public_key, uint8_t *p_private_key, tc_uECC_Curve curve)
Create a public/private key pair.
Definition: tc_ecc_dh.c:102