1#include "main-header.h"
4uint8_t publickey[uECC_BYTES * 2];
5uint8_t privatekey[uECC_BYTES];
14byte *get_public_key() {
15 if (keys_computed == 0) {
16 uECC_set_rng(&my_random_number_generator);
17 int res = uECC_make_key(publickey, privatekey);
23 return (
byte *)&publickey;
31int get_public_key_size() {
32 return sizeof(publickey);