libtropic
C library for TROPIC01 chip

◆ lt_X25519()

void lt_X25519 ( const uint8_t *  priv,
const uint8_t *  pub,
uint8_t *  secret 
)

This function computes x25519 shared secret

Parameters
privPrivate key 32B long
pubPublic key 32B long
secretShared secret 32B long