summaryrefslogtreecommitdiff
path: root/sha3.c
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02sha3.c: xof_absorb_raw_large(): rename to xof_absorb_raw(), do not copy ↵Paul Duncan1-61/+11
state, check message alignment to elide unnecessary copies, remove xof_absorb_raw_small()
2024-02-26rename SHA3_*_CAPACITY to SHA3_*_LEN, document SHA3_*_LEN and ↵Paul Duncan1-28/+47
{SHA3,SHAKE*}_*_RATE
2024-02-24sha3.c: s/sha3(/hash_once(/, s/sha3_(init|absorb|final)/hash_$1/Paul Duncan1-21/+21
2024-02-24sha3.c: improve internal documentationPaul Duncan1-1/+29
2024-02-24sha3.c: s/xof_absorb_raw_bulk/xof_absorb_raw_large/, ↵Paul Duncan1-10/+18
s/xof_absorb_raw_simple/xof_absorb_raw_small/, add documentation to xof absorb functions
2024-02-24sha3.c: xof_squeeze_raw(): improve speed by squeezing in rate-sized chunksPaul Duncan1-6/+36
2024-02-24sha3.c: add xof_absorb_raw_bulk() to absorb data in bulkPaul Duncan1-6/+99
2024-02-24sha3.c: remove unused shake() functionPaul Duncan1-22/+0
2024-02-24sha3.[hc]: remove shake{128,256}(), replace shake{128,256}_xof prefixes with ↵Paul Duncan1-270/+58
shake{128,256}, update tests
2024-02-23sha3.c: add xof_{absorb,squeeze}_raw()Paul Duncan1-15/+29
2024-02-23sha3.c: use temp array for pi() and chi(), fix testsPaul Duncan1-65/+67
2023-10-16sha3.c: clean up intro, remove extraneous newlinePaul Duncan1-10/+10
2023-10-14sha3.c: compress algorithm list in header comment block, mark entire file as ↵Paul Duncan1-19/+12
INTERNAL to doxygen
2023-09-23sha3.c: k12_big_absorb_done(): fix uninitialized buffer warningPaul Duncan1-1/+1
2023-09-18sha3.c: add avx512 permute(), add step comments, do not build scalar steps ↵Paul Duncan1-1/+257
unless necessary
2023-09-06sha3.[hc]: refactor k12 apiPaul Duncan1-84/+92
2023-09-06README.md, sha3.[hc]: add KangarooTwelve to algorithm listPaul Duncan1-0/+1
2023-09-06sha3.c: add kangarootwelve_custom(), kangarootwelve(), ↵Paul Duncan1-1/+501
kangarootwelve_length_encode(), test_kangarootwelve(), and test_kangarootwelve_length_encode()
2023-09-05sha3.[hc]: add turboshake{128,256}_custom()Paul Duncan1-1/+9
2023-09-05sha3.[hc]: s/TurboHash/TurboSHAKE/Paul Duncan1-1/+1
2023-09-05sha3.c: full turboshake{128,256} testsPaul Duncan1-19/+254
2023-09-05sha3.c: permute() pass correct round to iota() for turboshakePaul Duncan1-1/+1
2023-09-05sha3.c: add incomplete turboshake implementation, improve commentsPaul Duncan1-28/+157
2023-09-05sha3.[hc]: add header w/ spdx license identifier and library descriptionPaul Duncan1-3/+29
2023-09-04sha3.[hc]: add hmac_sha3_{224,256,384,512}(), ↵Paul Duncan1-2/+968
hmac_sha3_{224,256,384,512}_{init,absorb,final}(), test_hmac_sha3_{224,256,384,512}(), test_hmac_sha3_{224,256,384,512}_ctx()
2023-09-04sha3.[hc]: add sha3_{224,256,384,512}_{init,absorb,final}() and ↵Paul Duncan1-0/+662
test_sha3_{224,256,384,512}_ctx()
2023-09-04sha3.[hc]: add parallelhash256, ↵Paul Duncan1-0/+311
parallelhash256_xof_{init,absorb,squeeze,once}(), test_parallelhash256(), and test_parallelhash256_xof()
2023-09-04sha3.c: add missing parallelhash128 and parallelhash128-xof testsPaul Duncan1-0/+34
2023-09-04sha3.c: fix parallelhash128_xof_once() and test_parallelhash_xof()Paul Duncan1-2/+2
2023-09-04sha3.[hc]: add parallelhash128(), ↵Paul Duncan1-0/+265
parallelhash128_xof_{init,absorb,squeeze,once}(), test_parallelhash128(), and test_parallelhash128_xof() (the last one is currently not working)
2023-09-03sha3.c: add test_tuplehash{128,256}_xof()Paul Duncan1-2/+190
2023-09-03sha3.[hc]: add tuplehash256(), tuplehash256_xof_{init,squeeze,once}(), and ↵Paul Duncan1-0/+159
test_tuplehash256()
2023-09-03sha3.[hc]: add tuplehash128(), tuplehash128_xof_{init,squeeze,once}(), and ↵Paul Duncan1-0/+153
test_tuplehash128
2023-09-03sha3.[hc]: add kmac256_xof_{init,absorb,squeeze,once}() and test_kmac256_xof()Paul Duncan1-0/+181
2023-09-03sha3.[hc]: add kmac128_xof_{init,absorb,squeeze,once}(), test_kmac128_xof()Paul Duncan1-0/+161
2023-09-03sha3.c: add kmac256() and test_kmac256()Paul Duncan1-0/+178
2023-09-03sha3.c: populate test_kmac128()Paul Duncan1-1/+105
2023-09-03sha3.[hc]: add kmac128(), kmac_params_t, and stub test_kmac128()Paul Duncan1-0/+61
2023-09-03sha3.c: remove bytepad_prefix(), test_bytepad_prefix(), and bytepad_lens_tPaul Duncan1-76/+1
2023-09-03sha3.c: add bytepad(), test_bytepad(), and MIN()Paul Duncan1-14/+102
2023-09-03sha3.c: add right_encode()Paul Duncan1-0/+135
2023-09-02sha3.[hc]: add cshake256 functions and testsPaul Duncan1-0/+164
2023-09-02sha3.[hc]: add cshake128 functionsPaul Duncan1-109/+243
2023-09-02sha3.c: add pad parameter to internal xof functionsPaul Duncan1-11/+13
2023-09-02sha3.c: add xof_once(), refactor shake{128,256}_xof_once()Paul Duncan1-18/+312
2023-09-02sha3.[hc]: add shake{128,256}_xof_once()Paul Duncan1-0/+238
2023-09-02sha3.[hc], main.c: remove absorb_done(), make squeeze always succeedPaul Duncan1-47/+12
2023-09-01sha3.c: remove extraneous whitespacePaul Duncan1-55/+55
2023-09-01./sha3.h: add shake{128,256}_xof_*()Paul Duncan1-10/+362
2023-09-01initial commitPaul Duncan1-0/+1176