1. 08 Sep, 2016 2 commits
  2. 07 Sep, 2016 1 commit
  3. 31 Aug, 2016 1 commit
    • Jon Griffiths's avatar
      Add a SHA512 implementation · 5e37a0fe
      Jon Griffiths authored
      This largely follows the SHA256 style. I've named Rusty as the maintainer.
      
      Currently the functions to add data of various sizes/endianness have not
      been implemented: There are no public test vectors for these cases and
      I believe most use cases are working on byte buffers. They can be added
      later if desired.
      
      The openssl implementation has been tested on x86-64, while the inbuilt
      version has been tested on 32/64 bit, little/big endian boxes.
      Signed-off-by: default avatarJon Griffiths <jon_p_griffiths@yahoo.com>
      5e37a0fe
  4. 30 Aug, 2016 5 commits
  5. 29 Aug, 2016 9 commits
  6. 24 Aug, 2016 4 commits
  7. 23 Aug, 2016 3 commits
  8. 22 Aug, 2016 12 commits
  9. 28 Jun, 2016 1 commit
  10. 16 Jun, 2016 2 commits
    • David Gibson's avatar
      altstack: Don't log internal calls in test cases · c21a1eff
      David Gibson authored
      altstack/test/run.c uses some hairy macros to intercept the standard
      library functions that altstack uses.  This has two purposes: 1) to
      conditionally cause those functions to fail, and thereby test altstack's
      error paths, and 2) log which of the library functions was called in each
      testcase.
      
      The second function isn't actually useful - for the purposes of testing the
      module, we want to check the actual behaviour, not what calls it made in
      what order to accomplish it.  Explicitly checking the calls makes it much
      harder to change altstack's implementation without breaking the tests.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      c21a1eff
    • David Gibson's avatar
      altstack: Don't use 0 pointer literals · 9683a45f
      David Gibson authored
      In a number of places the altstack module uses a literal '0' for pointer
      values.  That's correct C, but doesn't make it obvious on a quick read
      whether values are integers or pointers.  This patch changes those cases
      to use the NULL define instead.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      9683a45f