aboutsummaryrefslogtreecommitdiff
path: root/libcmix/cmix.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix/cmix.h')
-rw-r--r--libcmix/cmix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcmix/cmix.h b/libcmix/cmix.h
index f060762..d35b23f 100644
--- a/libcmix/cmix.h
+++ b/libcmix/cmix.h
@@ -52,7 +52,7 @@ struct CMixContext {
unsigned int** permutation; ///< a permutation (Pi in the paper (called Pi in source)).
GroupElement** decryption_shares; ///< The decryption share for each slot.
GroupElement** EPiRS; ///< stores the current Pi(R) * S for this node. Only usfull for the last node.
- GroupElement* PiMRS; ///< stores the current Pi(M * R) * S for this node. Only usefull for the last node.
+ GroupElement** PiMRS; ///< stores the current Pi(M * R) * S for this node. Only usefull for the last node.
};
/*!
@@ -60,7 +60,7 @@ struct CMixContext {
* \param api The cryptop api to initialize this CMixContext for.
* \return The created and Initialized CMixContext;
*/
-struct CMixContext initialize_cmix_context(struct Api api);
+struct CMixContext initialize_cmix_context(struct Api api, unsigned int nr_mixes);
/*!
* \brief deinitialize deallocates all the context resources and deinitializes the crypto api.