aboutsummaryrefslogtreecommitdiffstats
path: root/test.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libar2_encode_base64: fix support for overlap1.2.2Mattias Andrée2022-03-191-6/+22
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* test: check libar2_decode_base64 with buffer overlapMattias Andrée2022-03-191-9/+20
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Some fixes1.2Mattias Andrée2022-02-171-13/+43
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m styleMattias Andrée2022-02-171-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + add tests for optimisationsMattias Andrée2022-02-171-5/+60
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + use optimisations '(adds auto-executed function: libar2_init)'Mattias Andrée2022-02-171-3/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add optimisations (no yet used)Mattias Andrée2022-02-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix previous commitMattias Andrée2022-02-161-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Strict parameter order in parameter string (this is what is done in the reference implementation and is the desirable behaviour)Mattias Andrée2022-02-161-6/+13
| | | | 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-161-0/+5
| | | | 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-161-19/+41
| | | | 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-161-13/+191
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Small optimisation for little-endian machinesMattias Andrée2022-02-161-1/+38
| | | | 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-0/+67
| | | | 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>
* Use params->version == 0 for implicit specification of version 1.0Mattias Andrée2022-02-121-0/+48
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2022-01-191-23/+23
| | | | 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>
* First commit1.0Mattias Andrée2022-01-161-0/+736
Signed-off-by: Mattias Andrée <maandree@kth.se>