aboutsummaryrefslogtreecommitdiffstats
path: root/libar2.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-17bump versionMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17add todoMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17m styleMattias Andrée1-32/+33
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17Remove obsolete macroMattias Andrée2-7/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17libar2_erase.3: mention weak linkingMattias Andrée1-0/+7
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17m whitespaceMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17m styleMattias Andrée1-2/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17m + add tests for optimisationsMattias Andrée3-7/+72
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17m + use optimisations '(adds auto-executed function: libar2_init)'Mattias Andrée9-17/+165
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-17Add optimisations (no yet used)Mattias Andrée3-13/+158
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Fix previous commitMattias Andrée2-2/+7
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Strict parameter order in parameter string (this is what is done in the reference implementation and is the desirable behaviour)Mattias Andrée2-46/+34
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Make test code work with musl1.1.1Mattias Andrée1-14/+18
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Fix check for 0-prefixed integers parameter stringMattias Andrée2-1/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Add more testsMattias Andrée2-20/+45
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Add more testsMattias Andrée1-2/+25
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16mMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Add more test codeMattias Andrée1-2/+123
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16More tests and some small improvementsMattias Andrée3-22/+221
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Add coverage testMattias Andrée2-0/+16
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Suppress warningMattias Andrée1-1/+11
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Unrolling loop of rounds does not improve performanceMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Small optimisation for little-endian machinesMattias Andrée3-6/+97
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Fix style + minimal optimisationMattias Andrée1-6/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-16Remove todoMattias Andrée1-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>
2022-02-15Reference libar2simplified_init_context.3 in libar2_hash.3Mattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-15Minor fix to man pagesMattias Andrée15-15/+15
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-14Ref libar2simplified1.1Mattias Andrée2-1/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-14Refine 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ée7-9/+90
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-14Fix previous commitMattias Andrée3-14/+29
2022-02-13Add libar2_hash_buf_size and fix related documentation for libar2_hashMattias Andrée6-4/+80
2022-02-13Bug fixMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-13Bug fixMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-13Fix typoMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-13mMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-12Bump lib versionMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-12Use params->version == 0 for implicit specification of version 1.0Mattias Andrée7-11/+84
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-12libar2_encode_base64: data may be NULL if buf is NULLMattias Andrée2-2/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-12Add man pages, readme, and nonnull attributes and fix documentation typosMattias Andrée17-11/+1729
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-12Make libar2_latest_argon2_version constMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-01-19Fix warningsMattias Andrée6-24/+44
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-01-18Improve portabilityMattias Andrée4-6/+35
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-01-17Fix typo: libar2_earse -> libar2_eraseMattias Andrée4-7/+19
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-01-17test: improve portabilityMattias Andrée1-1/+13
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-01-17Fix config.mk: add -lblakeMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>