aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/libsodium_curve25519.c
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-08-31 14:09:51 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-01 13:08:52 +0200
commit9d7701c370f06be663f2a485507d388ab5194ca8 (patch)
treeaea0b55017b7a6003dbd042cdb113ec6fb5ab2e9 /libcmix-crypto/libsodium_curve25519.c
parentd55e5c77d3cd2a1be150666e92e5b4f3b922f0fc (diff)
downloadcmix-9d7701c370f06be663f2a485507d388ab5194ca8.tar.gz
cmix-9d7701c370f06be663f2a485507d388ab5194ca8.tar.bz2
cmix-9d7701c370f06be663f2a485507d388ab5194ca8.zip
Added a CMake system to easily add and choose crypto implementations.
Diffstat (limited to 'libcmix-crypto/libsodium_curve25519.c')
-rw-r--r--libcmix-crypto/libsodium_curve25519.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libcmix-crypto/libsodium_curve25519.c b/libcmix-crypto/libsodium_curve25519.c
deleted file mode 100644
index 23dbf12..0000000
--- a/libcmix-crypto/libsodium_curve25519.c
+++ /dev/null
@@ -1,13 +0,0 @@
-
-#include "curve25519.h"
-
-#include <stddef.h>
-
-void sodium_curve25519_keypair_deleter(struct KeyPair* p) {
- free(p->sec);
- free(p->pub);
-}
-
-struct KeyPair curve25519_create_keypair() {
- return (struct KeyPair){NULL, NULL, 0, 0, &sodium_curve25519_keypair_deleter};
-}