17 #ifndef __included_wg_convert_h__ 18 #define __included_wg_convert_h__ 29 const u8 secret_key[CURVE25519_KEY_SIZE],
30 const u8 basepoint[CURVE25519_KEY_SIZE]);
33 const u8 secret_key[CURVE25519_KEY_SIZE]);
bool curve25519_gen_public(u8 public_key[CURVE25519_KEY_SIZE], const u8 secret_key[CURVE25519_KEY_SIZE])
bool key_to_base64(const u8 *src, size_t src_len, u8 *out)
bool key_from_base64(const u8 *src, size_t src_len, u8 *out)
bool curve25519_gen_secret(u8 secret[CURVE25519_KEY_SIZE])
bool curve25519_gen_shared(u8 shared_key[CURVE25519_KEY_SIZE], const u8 secret_key[CURVE25519_KEY_SIZE], const u8 basepoint[CURVE25519_KEY_SIZE])