diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-30 11:07:18 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-30 11:07:18 +0200 |
| commit | 825fc3d44eb6a3837bb922815c4351aa011a213c (patch) | |
| tree | 825ec81fd14aa07d8621513ceb6c2b7e1aa95620 /libcmix-crypto/curve25519.h | |
| parent | 8dbc565edee65b31db68f47d41f569d9e52fef14 (diff) | |
| download | cmix-825fc3d44eb6a3837bb922815c4351aa011a213c.tar.gz cmix-825fc3d44eb6a3837bb922815c4351aa011a213c.tar.bz2 cmix-825fc3d44eb6a3837bb922815c4351aa011a213c.zip | |
Proof of concept skeleton, linktime algorithm implementation selection.
Diffstat (limited to 'libcmix-crypto/curve25519.h')
| -rw-r--r-- | libcmix-crypto/curve25519.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
