aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/elgamal/elgamal.c
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2017-02-26 14:38:02 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2017-02-26 14:38:02 +0100
commit83c7247c0991b1988c2f505cf8449f4afa6b806d (patch)
treed08f4dba16be9bf8e7926face6e1d2eeaa3abbc4 /libcmix-crypto/elgamal/elgamal.c
parent4c748c1022ac898ed59ebd2a1884a62ce4063b39 (diff)
downloadcmix-83c7247c0991b1988c2f505cf8449f4afa6b806d.tar.gz
cmix-83c7247c0991b1988c2f505cf8449f4afa6b806d.tar.bz2
cmix-83c7247c0991b1988c2f505cf8449f4afa6b806d.zip
Adds an api function for elgamal
Diffstat (limited to 'libcmix-crypto/elgamal/elgamal.c')
-rw-r--r--libcmix-crypto/elgamal/elgamal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcmix-crypto/elgamal/elgamal.c b/libcmix-crypto/elgamal/elgamal.c
index d103230..607a155 100644
--- a/libcmix-crypto/elgamal/elgamal.c
+++ b/libcmix-crypto/elgamal/elgamal.c
@@ -11,6 +11,7 @@ struct Api get_elgamal_implementation()
.free_buffer = elgamal_free_buffer,
.array_to_element = elgamal_array_to_element,
.message_to_element = elgamal_message_to_element,
+ .element_to_message = elgamal_element_to_message,
.get_pub_key_hash = elgamal_get_pub_key_hash,
.get_pub_key_hash_length = elgamal_get_pub_key_hash_length,
.get_group_element = elgamal_get_group_element,