[riot-notifications] [RIOT-OS/RIOT] Add a package for hashing with Keccak with unit test and example application (#7903)

Adrian GHC notifications at github.com
Wed Dec 6 21:59:06 CET 2017

adrianghc commented on this pull request.

> +  * @param  hash_instance    Pointer to the hash instance to be initialized.
+  * @param  rate        The value of the rate r.
+  * @param  capacity    The value of the capacity c.
+  * @param  hashbitlen  The desired number of output bits,
+  *                     or 0 for an arbitrarily-long output.
+  * @param  delimited_suffix Bits that will be automatically appended to the end
+  *                         of the input message, as in domain separation.
+  *                         This is a byte containing from 0 to 7 bits
+  *                         formatted like the @a delimitedData parameter of
+  *                         the Keccak_SpongeAbsorbLastFewBits() function.
+  * @pre    One must have r+c=1600 and the rate a multiple of 8 bits in this implementation.
+  * @return SUCCESS if successful, FAIL otherwise.
+  */
+#define keccak1600hash_initialize(hash_instance, rate, capacity, hashbitlen, delimited_suffix)  Keccak_HashInitialize(hash_instance, rate, capacity, hashbitlen, delimited_suffix)
+/** Function to initialize a SHAKE128 instance as specified in the FIPS 202 standard.

I can get behind this.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171206/3e2d180e/attachment.html>

More information about the notifications mailing list