aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing UNLIKELYMattias Andrée2022-02-192-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix initial t[0] for keyed BLAKE2XsMattias Andrée2022-02-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix initial t[0] for keyed BLAKE2sMattias Andrée2022-02-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add document BLAKE functions and make two functions inlineMattias Andrée2022-02-195-29/+288
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add some documentation, add const, and make some functions inlineMattias Andrée2022-02-199-80/+257
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Properly group code in libblake.hMattias Andrée2022-02-191-31/+54
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add readmeMattias Andrée2022-02-191-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libblake_init: return before locking if already initialised (check-lock-check)Mattias Andrée2022-02-171-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typoMattias Andrée2022-02-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Initial work on optimising compression function; mm128 version is slower, mm256 version is barely fasterMattias Andrée2022-01-2110-2/+330
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix memory corruption bug in test.c and simplify message byte-length calculationMattias Andrée2022-01-211-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2022-01-199-38/+83
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add todos about more tests being neededMattias Andrée2022-01-191-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Optimisation for amd64Mattias Andrée2022-01-1916-143/+406
| | | | | | | | Increased major number as the ABI was broken by insertion of padding into the BLAKE2 parameter structures (except for BLAKE2Xs) Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve portabilityMattias Andrée2022-01-182-67/+85
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix libblake_blake2[sn]_digest_get_required_input_size for 0 input1.0Mattias Andrée2022-01-162-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add *_force_update for BLAKE2[X] (intended for parallel hashing)Mattias Andrée2022-01-136-0/+58
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add BLAKE2XMattias Andrée2022-01-0825-124/+428
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add last_node parameter to libblake_blake2[sb]_digestMattias Andrée2022-01-084-6/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2022-01-071-10/+10
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add BLAKE2b and BLAKE2s + add salt support to BLAKE + mMattias Andrée2022-01-0725-84/+900
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libblake_decode_hex: verify inputMattias Andrée2022-01-063-6/+15
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* First commitMattias Andrée2022-01-0532-0/+1245
Signed-off-by: Mattias Andrée <maandree@kth.se>