aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/keymanagement.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/keymanagement.h')
-rw-r--r--libcmix-crypto/keymanagement.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/libcmix-crypto/keymanagement.h b/libcmix-crypto/keymanagement.h
index 1db0ce6..18b578a 100644
--- a/libcmix-crypto/keymanagement.h
+++ b/libcmix-crypto/keymanagement.h
@@ -1,13 +1,13 @@
#pragma once
-#include "curve25519.h"
-
-#include <stddef.h>
-
#ifdef __cplusplus
extern "C" {
#endif
+#include "keypair.h"
+
+#include <stddef.h>
+
typedef struct KeyPair(*CmixKeyPairCreator)();
typedef struct KeyPair(*CmixKeyPairLoader)(char*, char*);
@@ -16,13 +16,6 @@ struct CmixKeyManagementImpl {
CmixKeyPairLoader load_keypair;
};
-struct CmixKeyManagementImpl get_curve25519_key_management_implementation() {
- return (struct CmixKeyManagementImpl) {\
- &curve25519_create_keypair,
- NULL
- };\
-}
-
#ifdef __cplusplus
} // extern "C"
#endif