aboutsummaryrefslogtreecommitdiff
path: root/libcmix/cmix.h
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-11-07 16:45:34 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-11-07 16:45:34 +0100
commit8ff9babe2da4a2efc8529e800a6093fbd0327286 (patch)
tree83f2d15f8dae8c7a5e216f9ec0a8001bd40673a3 /libcmix/cmix.h
parent46f22621759d388f7cef4bf0d2ac03667a5d611e (diff)
downloadcmix-8ff9babe2da4a2efc8529e800a6093fbd0327286.tar.gz
cmix-8ff9babe2da4a2efc8529e800a6093fbd0327286.tar.bz2
cmix-8ff9babe2da4a2efc8529e800a6093fbd0327286.zip
The client sends his first message.
Changed some of the boilerplate so it's more conveniant to add types.
Diffstat (limited to 'libcmix/cmix.h')
-rw-r--r--libcmix/cmix.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcmix/cmix.h b/libcmix/cmix.h
index 7442369..33b99d2 100644
--- a/libcmix/cmix.h
+++ b/libcmix/cmix.h
@@ -113,10 +113,12 @@ enum cmix_error key_exchange_init(struct CMixContext const* ctx, char* pubkey_bu
enum cmix_error key_exchange_responder(struct CMixContext const* ctx, GroupElement* shared_key, char* public_key_buffer, char* exhange_value_buffer, char const* pubkey, char const* value);
-enum cmix_error key_exchange_initiator(struct CMixContext const* ctx, GroupElement* shared_key, char const* pubkey, char const* value, GroupElement priv_el);
+enum cmix_error key_exchange_initiator(struct CMixContext const* ctx, GroupElement* shared_key, char const* pubkey, char const* value, GroupElement* priv_el);
enum cmix_error post_process(struct CMixContext* ctx, char* r_out, char* m_out, char const* r_epirs, char const* m_epirs, size_t index);
+enum cmix_error blind_message(struct CMixContext const* ctx, char* m_out, char const* message, GroupElement const* keys, size_t const nr_nodes);
+
#ifdef __cplusplus
} // extern "C"
#endif