aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Strict parameter order in parameter string (this is what is done in the reference implementation and is the desirable behaviour)Mattias Andrée2022-02-162-46/+34
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Make test code work with musl1.1.1Mattias Andrée2022-02-161-14/+18
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix check for 0-prefixed integers parameter stringMattias Andrée2022-02-162-1/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2022-02-161-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add more testsMattias Andrée2022-02-162-20/+45
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add more testsMattias Andrée2022-02-161-2/+25
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2022-02-161-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add more test codeMattias Andrée2022-02-161-2/+123
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* More tests and some small improvementsMattias Andrée2022-02-163-22/+221
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add coverage testMattias Andrée2022-02-162-0/+16
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Suppress warningMattias Andrée2022-02-161-1/+11
| | | | 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-163-6/+97
| | | | 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>
* Reference libar2simplified_init_context.3 in libar2_hash.3Mattias Andrée2022-02-151-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor fix to man pagesMattias Andrée2022-02-1515-15/+15
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Ref libar2simplified1.1Mattias Andrée2022-02-142-1/+2
| | | | 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-147-9/+90
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix previous commitMattias Andrée2022-02-143-14/+29
|
* Add libar2_hash_buf_size and fix related documentation for libar2_hashMattias Andrée2022-02-136-4/+80
|
* 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>
* Fix typoMattias Andrée2022-02-131-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2022-02-131-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Bump lib versionMattias Andrée2022-02-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use params->version == 0 for implicit specification of version 1.0Mattias Andrée2022-02-127-11/+84
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libar2_encode_base64: data may be NULL if buf is NULLMattias Andrée2022-02-122-2/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pages, readme, and nonnull attributes and fix documentation typosMattias Andrée2022-02-1217-11/+1729
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Make libar2_latest_argon2_version constMattias Andrée2022-02-122-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2022-01-196-24/+44
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve portabilityMattias Andrée2022-01-184-6/+35
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typo: libar2_earse -> libar2_eraseMattias Andrée2022-01-174-7/+19
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* test: improve portabilityMattias Andrée2022-01-171-1/+13
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix config.mk: add -lblakeMattias Andrée2022-01-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* First commit1.0Mattias Andrée2022-01-1623-0/+2624
Signed-off-by: Mattias Andrée <maandree@kth.se>