aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* add libsha2_sum_fdMattias Andrée2015-09-143-0/+106
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* implement sha2Mattias Andrée2015-09-144-22/+189
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add things around the actual hashingMattias Andrée2015-09-147-0/+629
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add copying and licenseMattias Andrée2015-09-142-0/+678
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add readmeMattias Andrée2015-09-141-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* first commitMattias Andrée2015-09-141-0/+22
Signed-off-by: Mattias Andrée <maandree@operamail.com>