diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-18 12:48:53 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-18 12:48:53 +0100 |
| commit | 127b6d6d55456eb49104d380157a63ef1d1ac546 (patch) | |
| tree | f51c446644ae971658aa03d0bf769b3a4d0bef9c /libcmix/cmix.h | |
| parent | 6d55dcba54ceaccc9d90ea7c2f1746524a6e81e3 (diff) | |
| download | cmix-127b6d6d55456eb49104d380157a63ef1d1ac546.tar.gz cmix-127b6d6d55456eb49104d380157a63ef1d1ac546.tar.bz2 cmix-127b6d6d55456eb49104d380157a63ef1d1ac546.zip | |
Code cleanup
Diffstat (limited to 'libcmix/cmix.h')
| -rw-r--r-- | libcmix/cmix.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libcmix/cmix.h b/libcmix/cmix.h index 53212fe..f3d071d 100644 --- a/libcmix/cmix.h +++ b/libcmix/cmix.h @@ -35,31 +35,6 @@ enum cmix_error { }; /*! - * \brief permutate mixes the messages before sending the messages. - * \param[in,out] b A buffer of \p nr_messages messages, each message of length *message_len* - * \return no_error - */ -enum cmix_error permute(struct CMixBuffer b); - -/*! - * \brief get_message takes the \p index message of the buffer \p b copies it into \p message - * \param[out] message is the output buffer that has to hold at least \p b.message_length bytes. - * \param[in] b is the buffer from which to copy the message. - * \param[in] index is the index of the message to copy. - * \return index_out_of_range if \p index is greater than or equal to \p b.nr_messages , otherwise no_error. - */ -enum cmix_error get_message(char* message, struct CMixBuffer b, unsigned int index); - -/*! - * \brief set_message set the \p index message of the buffer to a copy of \p message. - * \param[in] message The message to set the part of the buffer to. - * \param[in,out] b The buffer - * \param[in] index The index into the buffer - * \return index_out_of_range if \p index is greater than or equal to \p b.nr_messages , otherwise no_error. - */ -enum cmix_error set_message(char const* message, struct CMixBuffer b, unsigned int index); - -/*! * \brief calculate_shared_key_part Calculates (partly) the shared key which is needed by all the nodes. * \param result Storage for the result * \param partial_shared The shared key so far. |
