aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove documentation from .c files that already exist in .h filesMattias Andrée2022-07-0717-132/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Inline the output size functionsMattias Andrée2022-07-074-43/+38
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsha2.7Mattias Andrée2022-07-072-0/+32
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add coverage testMattias Andrée2022-07-073-1/+16
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* SHA 2 => SHA-2Mattias Andrée2022-07-0715-15/+15
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m whitespaceMattias Andrée2022-07-071-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix makefileMattias Andrée2022-02-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* install_name_tool does not support --Mattias Andrée2022-02-191-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve makefileMattias Andrée2022-02-195-10/+25
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update readmeMattias Andrée2022-02-191-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve makefile1.0.3Mattias Andrée2021-09-162-11/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update readmeMattias Andrée2019-02-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix man pages1.0.2Mattias Andrée2019-02-1018-18/+18
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update clean rule in MakefileMattias Andrée2019-02-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix HMAC and add tests1.0.1Mattias Andrée2019-02-103-4/+78
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2019-02-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* HMAC: fix support for key lengths that are not multiples of 8Mattias Andrée2019-02-101-1/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve makefile1.0Mattias Andrée2019-02-104-9/+19
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests for HMACMattias Andrée2019-02-101-0/+25
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* ...Mattias Andrée2019-02-101-0/+70
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor improvement and man pages for HMACMattias Andrée2019-02-1016-41/+358
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libsha2.h.0: securely erasing the stateMattias Andrée2019-02-101-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libsha2_hmac_[un]marshalMattias Andrée2019-02-104-0/+122
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add HMAC and use void * instead of char * for binary dataMattias Andrée2019-02-1024-61/+266
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use lowest bits rather than highest bits in complete byte, document this, and add testsMattias Andrée2019-02-103-0/+26
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor fixes and testsMattias Andrée2019-02-106-10/+92
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add test casesMattias Andrée2019-02-101-2/+111
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Marshal/Unmarshal: do no marshal unset bytes in the chunkMattias Andrée2019-02-102-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2019-02-101-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Avoid copying in libsh2_updateMattias Andrée2019-02-101-9/+16
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix libsha2_digest + minor improvementsMattias Andrée2019-02-1013-168/+299
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2019-02-096-42/+22
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve makefile: mv LIBEXT and LIBFLAGS to config.mkMattias Andrée2019-02-092-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add install and uninstall rules to MakefileMattias Andrée2019-02-091-0/+25
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Update makefileMattias Andrée2019-02-092-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix documentation about lengths (in bits, not bytes) and fix libsha2_sum_fd (lengths are in bits)Mattias Andrée2019-02-095-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add marshal and unmarshal functionsMattias Andrée2019-02-099-1/+291
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Minor changes, add man pages, rename libsha2_state_initialise to libsha2_initMattias Andrée2019-02-0916-6/+614
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add HMAC to TODOMattias Andrée2019-02-092-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Change license to ISC and reorganiseMattias Andrée2019-02-0928-1649/+832
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Merge pull request #2 from maaku/no-trailing-commaMattias Andrée [mˈa.tːiː.ˌas ˈanː.drˌeː]2016-02-201-1/+1
|\ | | | | Remove trailing comma in enumeration
| * Remove trailing comma in enumerationMark Friedenbach2016-02-191-1/+1
| | | | | | | | Trailing commas are not supported in strict C89.
| * Revert "Restructure code style to prevent trailing comma in enumerations, which is not permitted in C89."Mark Friedenbach2016-02-191-6/+6
| | | | | | | | This reverts commit a6bf28bbb2a8505fd2079e965d2d7868caefaff6.
| * Restructure code style to prevent trailing comma in enumerations, which is not permitted in C89.Mark Friedenbach2016-02-081-6/+6
|/
* improve readmeMattias Andrée2015-11-281-1/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2015-11-273-1/+47
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* libsha2_sum_fd continues if interruptedMattias Andrée2015-09-201-2/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m styleMattias Andrée2015-09-141-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* paddingMattias Andrée2015-09-141-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mashalling stateMattias Andrée2015-09-142-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>