#pragma once #ifdef __cplusplus extern "C" { #endif #include "api.h" extern struct KeyPair curve25519_create_keypair(); extern void curve25519_keypair_deleter(struct KeyPair p); extern struct SharedKey curve25519_derive_shared_key(struct KeyPair pair, unsigned char* pub_key, bool swap_pub_order); extern void curve25519_shared_key_deleter(struct SharedKey s); struct Api get_curve25519_implementation(); #ifdef __cplusplus } #endif