Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-04-29 | sha3.c: add permute_n_{scalar,avx512}() and refactor ↵ | Paul Duncan | 1 | -198/+23 | |
permute{,12}_{scalar,avx512}() to use them | |||||
2024-04-29 | sha3.c: s/ifdef/if/ in a few places | Paul Duncan | 1 | -2/+2 | |
2024-04-29 | tests/bench: add backend to metadata | Paul Duncan | 2 | -3/+4 | |
2024-04-29 | .gitignore: add all-fns | Paul Duncan | 1 | -0/+1 | |
2024-04-29 | sha3.[hc]: add sha3_backend() | Paul Duncan | 2 | -1/+26 | |
2024-04-29 | examples/06-all/all-fns.c: add sha3_backend() example | Paul Duncan | 1 | -0/+11 | |
2024-04-29 | sha3.c: add/use SHA3_BACKEND | Paul Duncan | 1 | -11/+26 | |
2024-04-29 | tests/bench/README.md: add n2l example | Paul Duncan | 1 | -2/+8 | |
2024-04-29 | tests/bench: refactor so bench prints a cpb table to stdout | Paul Duncan | 2 | -93/+129 | |
2024-04-29 | tests/bench/README.md: remove mean_cpb, add "cycles per byte" link, misc ↵ | Paul Duncan | 1 | -4/+5 | |
cleanups | |||||
2024-04-29 | tests/bench/bench.c: fix bench function memory allocation, remove mean_cpb ↵ | Paul Duncan | 1 | -20/+24 | |
from output, use defines for src/dst lengths | |||||
2024-04-29 | sha3.c: permute{,12}_avx512(): optimize, update header comment | Paul Duncan | 1 | -367/+295 | |
2024-04-29 | sha3.c: build permute12_scalar() during testing, remove old comment | Paul Duncan | 1 | -7/+1 | |
2024-04-29 | sha3.c: clean up whitespace in rho(), pi(), and chi() | Paul Duncan | 1 | -38/+50 | |
2024-04-29 | add tests/bench | Paul Duncan | 7 | -0/+354 | |
2024-04-29 | add rand-bytes.h | Paul Duncan | 1 | -0/+20 | |
2024-04-29 | Makefile: add -march=native -mtune=native to TEST_CFLAGS | Paul Duncan | 1 | -1/+1 | |
2024-04-29 | sha3.c: use shared RCS, rename scalar and avx512 permute() to ↵ | Paul Duncan | 1 | -78/+547 | |
permute_{scalar,axv512}(), hard-code num_rounds to 24 in permute_{scalar,avx512}(), add permute12_{scalar,avx512}(), absorb12(), and xof12_{init,absorb,raw,absorb,squeeze_raw,squeeze,once}(), update turboshake to use xof12_*(), move permute tests to PERMUTE_TESTS static array, rename test_permute() to test_permute_scalar(), add test_permute_avx512(), add PERMUTE12_TESTS and test_permute12_{scalar,avx512}() | |||||
2024-03-02 | LICENSE.txt: update copyright year | Paul Duncan | 1 | -1/+1 | |
2024-03-02 | README.md: move hmac down in list of algorithms, add note about recommended ↵v0.6 | Paul Duncan | 1 | -1/+4 | |
compiler flags | |||||
2024-03-02 | sha3.c: add fail_test(), use it in all tests | Paul Duncan | 1 | -211/+67 | |
2024-03-02 | sha3.c: rename HASH_RATE() to RATE(), document RATE() and use it everywhere, ↵ | Paul Duncan | 1 | -34/+71 | |
improve comments | |||||
2024-03-02 | sha3.c: fix comment | Paul Duncan | 1 | -1/+1 | |
2024-03-02 | sha3.c: parameterize turboshake | Paul Duncan | 1 | -50/+34 | |
2024-03-02 | sha3.c: parameterize parallelhash | Paul Duncan | 1 | -271/+143 | |
2024-03-02 | sha3.c: use __func__ in tests | Paul Duncan | 1 | -49/+49 | |
2024-03-02 | sha3.c: parameterize tuplehash | Paul Duncan | 1 | -121/+68 | |
2024-03-02 | sha3.c: parameterize kmac functions | Paul Duncan | 1 | -235/+122 | |
2024-03-02 | sha3.c: move kmac128(), add missing kmac comments | Paul Duncan | 1 | -53/+63 | |
2024-03-02 | sha3.c: parameterize cshake | Paul Duncan | 1 | -158/+86 | |
2024-03-02 | sha3.c: parameterize rate handling, simplify hash, shake, hmac, and cshake ↵ | Paul Duncan | 1 | -72/+58 | |
definitions | |||||
2024-03-02 | sha3.c: remove keccak(), refactor xof_absorb_raw() into absorb(), update ↵ | Paul Duncan | 1 | -92/+54 | |
hash_once(), hash_absorb(), and xof_absorb_raw() to use absorb() | |||||
2024-03-02 | sha3.h: move shake prototypes above hmac | Paul Duncan | 1 | -181/+182 | |
2024-03-02 | sha3.h: s/calculat/calculate/ | Paul Duncan | 1 | -1/+1 | |
2024-03-02 | sha3.[hc]: update comments | Paul Duncan | 2 | -3/+5 | |
2024-03-02 | sha3.c: move hmac below shake | Paul Duncan | 1 | -71/+71 | |
2024-03-02 | sha3.c: add DEF_HASH(), DEF_HMAC(), and DEF_SHAKE(), remove explicit hash, ↵ | Paul Duncan | 1 | -376/+137 | |
hmac, and shake implementations | |||||
2024-03-02 | sha3.c: xof_absorb_raw_large(): rename to xof_absorb_raw(), do not copy ↵ | Paul Duncan | 1 | -61/+11 | |
state, check message alignment to elide unnecessary copies, remove xof_absorb_raw_small() | |||||
2024-02-26 | rename SHA3_*_CAPACITY to SHA3_*_LEN, document SHA3_*_LEN and ↵ | Paul Duncan | 1 | -28/+47 | |
{SHA3,SHAKE*}_*_RATE | |||||
2024-02-24 | sha3.c: s/sha3(/hash_once(/, s/sha3_(init|absorb|final)/hash_$1/ | Paul Duncan | 1 | -21/+21 | |
2024-02-24 | sha3.c: improve internal documentation | Paul Duncan | 1 | -1/+29 | |
2024-02-24 | sha3.c: s/xof_absorb_raw_bulk/xof_absorb_raw_large/, ↵ | Paul Duncan | 1 | -10/+18 | |
s/xof_absorb_raw_simple/xof_absorb_raw_small/, add documentation to xof absorb functions | |||||
2024-02-24 | sha3.c: xof_squeeze_raw(): improve speed by squeezing in rate-sized chunks | Paul Duncan | 1 | -6/+36 | |
2024-02-24 | sha3.c: add xof_absorb_raw_bulk() to absorb data in bulk | Paul Duncan | 1 | -6/+99 | |
2024-02-24 | sha3.h: remove duplicate shake group definition, move sha3_xof_t definition ↵ | Paul Duncan | 1 | -25/+13 | |
to first use | |||||
2024-02-24 | sha3.h: fix copyright year | Paul Duncan | 1 | -1/+1 | |
2024-02-24 | sha3.h: fix a couple XOF links | Paul Duncan | 1 | -4/+4 | |
2024-02-24 | sha3.c: remove unused shake() function | Paul Duncan | 1 | -22/+0 | |
2024-02-24 | sha3.h: fix shake group description | Paul Duncan | 1 | -4/+3 | |
2024-02-24 | README.md: add missing "the" | Paul Duncan | 1 | -1/+1 | |