aboutsummaryrefslogtreecommitdiffstats
path: root/libar2_hash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update for libblake 3.01.2.1Mattias Andrée2022-02-201-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some fixes1.2Mattias Andrée2022-02-171-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* add todoMattias Andrée2022-02-171-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m styleMattias Andrée2022-02-171-32/+33
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove obsolete macroMattias Andrée2022-02-171-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + add tests for optimisationsMattias Andrée2022-02-171-1/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + use optimisations '(adds auto-executed function: libar2_init)'Mattias Andrée2022-02-171-5/+93
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add optimisations (no yet used)Mattias Andrée2022-02-171-11/+146
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add more testsMattias Andrée2022-02-161-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Unrolling loop of rounds does not improve performanceMattias Andrée2022-02-161-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Small optimisation for little-endian machinesMattias Andrée2022-02-161-5/+37
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix style + minimal optimisationMattias Andrée2022-02-161-6/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove todoMattias Andrée2022-02-161-1/+1
| | | | | | | | | load_block is optimised to a memcpy on little-endian machines, and argon2_blake2b_exthash must (there are less desirable alternatives) write to an intermediate buffer beause it can write beyond the target area Signed-off-by: Mattias Andrée <maandree@kth.se>
* Refine libar2_hash_buf_size + add test + securely erase parts of the hash output buffer that is written to but is not part of the hashMattias Andrée2022-02-141-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Bug fixMattias Andrée2022-02-131-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Bug fixMattias Andrée2022-02-131-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use params->version == 0 for implicit specification of version 1.0Mattias Andrée2022-02-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* First commit1.0Mattias Andrée2022-01-161-0/+612
Signed-off-by: Mattias Andrée <maandree@kth.se>