aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* m readmeMattias Andrée2022-02-201-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix libblake_blake2xb_force_update and add tests for BLAKE2XMattias Andrée2022-02-205-5/+4233
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add KAT files for BLAKE2[bs]p (which have not been implemented yet)Mattias Andrée2022-02-202-0/+4094
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Move KAT files into kat/ and remove kat- prefixMattias Andrée2022-02-204-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m readmeMattias Andrée2022-02-201-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add todosMattias Andrée2022-02-201-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add coverage testMattias Andrée2022-02-203-30/+53
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2022-02-201-4/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Bump version3.0Mattias Andrée2022-02-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add a warning that the API for BLAKE2X is a draftMattias Andrée2022-02-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add warning that BLAKE2X has not been finalisedMattias Andrée2022-02-201-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update init for BLAKE2Xb and BLAKE2Xs according to previous commmitMattias Andrée2022-02-203-32/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add more tests for BLAKE2b and BLAKE2s and update init functions (breaks API; were broken for keyed mode with zero-length message)Mattias Andrée2022-02-208-156/+4418
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* DocumentationMattias Andrée2022-02-201-32/+224
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix linking for Mac OSMattias Andrée2022-02-194-1/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m doc fixMattias Andrée2022-02-191-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add documentation1.1Mattias Andrée2022-02-191-24/+428
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* 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>