aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* m doc fix1.1.2.1Mattias Andrée2023-11-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix critical bug for automatic salt generation1.1.2Mattias Andrée2023-06-231-1/+1
| | | | | | | | | | If getrandom(3) generated bytes with the highest bit set and (char) is (signed char) (ones' or two's complement is used), those bytes would become negative indices, rather than be inside [0, 64), causing random data to be writting into the salt. Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve srand seedMattias Andrée2023-06-231-1/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Whitespace fix + do not call srand unless requiredMattias Andrée2023-06-231-12/+14
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix documentationMattias Andrée2023-06-232-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix allocation success check and deallocation order1.1.1Mattias Andrée2022-03-201-1/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix linking for Mac OSMattias Andrée2022-02-194-0/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix linking for WindowsMattias Andrée2022-02-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Bump version1.1Mattias Andrée2022-02-151-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix depsMattias Andrée2022-02-155-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libar2simplified_decode_rMattias Andrée2022-02-158-178/+409
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libar2simplified_init_contextMattias Andrée2022-02-156-360/+441
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libar2simplified_recommendation1.0Mattias Andrée2022-02-159-4/+145
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add test for salt generationMattias Andrée2022-02-151-1/+70
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests for *-prefix syntaxMattias Andrée2022-02-151-19/+55
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add readme and man pagesMattias Andrée2022-02-158-0/+582
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Rewait if sem_wait is interrupted (pthread_mutex_lock cannot be interrupted)Mattias Andrée2022-02-151-1/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2022-02-152-39/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix doc and adjust text widthMattias Andrée2022-02-151-36/+26
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add documentation and make sure the password is always erasedMattias Andrée2022-02-142-1/+132
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libar2simplified_crypt and fix threadingMattias Andrée2022-02-146-146/+230
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* XOR seed provided to srand with data depending on current seed, in case it is already seed in a better mannerMattias Andrée2022-02-131-1/+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>
* First commitMattias Andrée2022-02-1314-0/+971
Signed-off-by: Mattias Andrée <maandree@kth.se>