From 825fc3d44eb6a3837bb922815c4351aa011a213c Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Tue, 30 Aug 2016 11:07:18 +0200 Subject: Proof of concept skeleton, linktime algorithm implementation selection. --- libcmix-crypto/curve25519.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 libcmix-crypto/curve25519.h (limited to 'libcmix-crypto/curve25519.h') diff --git a/libcmix-crypto/curve25519.h b/libcmix-crypto/curve25519.h new file mode 100644 index 0000000..2c8b1e3 --- /dev/null +++ b/libcmix-crypto/curve25519.h @@ -0,0 +1,16 @@ +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif + +struct KeyPair { + char* sec; + char* pub; +}; + +extern struct KeyPair curve25519_create_keypair(); + +#ifdef __cplusplus +} +#endif -- cgit v1.2.3-70-g09d2