aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/elgamal/elgamal.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/elgamal/elgamal.c')
-rw-r--r--libcmix-crypto/elgamal/elgamal.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcmix-crypto/elgamal/elgamal.c b/libcmix-crypto/elgamal/elgamal.c
new file mode 100644
index 0000000..3136688
--- /dev/null
+++ b/libcmix-crypto/elgamal/elgamal.c
@@ -0,0 +1,11 @@
+#include "elgamal.h"
+
+struct Api get_elgamal_implementation()
+{
+ return (struct Api) {
+ &elgamal_create_keypair,
+ &elgamal_keypair_deleter,
+ &elgamal_derive_shared_key,
+ &elgamal_shared_key_deleter
+ };
+}