From 21474893efe0ab38461c3d08727c7c778caa9323 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sun, 4 Feb 2018 12:47:09 +0100 Subject: Both algorithms are now batchable. --- libcmix/cmix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcmix/cmix.h') 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. -- cgit v1.2.3-70-g09d2