35 Commits (637bd726623c0569e152f09faeb460122c851b42)

Author SHA1 Message Date
  Michael Hamburg b295ef7669 rename decaf_sponge_* apis to decaf_sha3_*. Also reverse order on decaf_sponge_hash to make it the same as decaf_shake*_hash and decaf_sha3*_hash 7 years ago
  Michael Hamburg 488e2548bd fix(?! needs testing) a critical bug in SHAKE XOF: the state would never transition to SQUEEZING, resulting in incorrect outputs 8 years ago
  Michael Hamburg 92b2cb464a sha3 functions can now return an error (likely to be ignored) if output length is to large. Also add shake###_output 8 years ago
  Michael Hamburg 42a969202c add _DEFAULT_SOURCE for more modern glibc 8 years ago
  Michael Hamburg bb1eef3712 tear out STROBE. Probably will re-introduce later 8 years ago
  Michael Hamburg 9e3702bb85 fix ticket #1 8 years ago
  Michael Hamburg a01e875d4a move strobe and crypto to TOY areas 9 years ago
  Andrew Bennett c558c0ecdb x86_64/i386 and illumos/solaris/SunOS compatibility fixes. 9 years ago
  Michael Hamburg 149130fd94 working through the TODOs. Correct the sign of the to/from EdDSA conversions (but is it correct for future curves?). SHA-3 now throws exceptions on over-long output 9 years ago
  Mike Hamburg be39188da9 prevent memcpy(NULL,NULL,0), which is technically illegal as pointed out by make scan 9 years ago
  Mike Hamburg 1e796b2e0e fix some warns from gcc 9 years ago
  Michael Hamburg f1df5e4714 lowerCamelCase -> snake_case. Put decaf_ in front of all (most?) identifiers, except for SHAKE which is being removed before 1.0 release (for future refactoring) 9 years ago
  Michael Hamburg 595855b434 move eddsa.hxx to its own header. sha512.hxx; rework shake.hxx header; create prehash object. TODO: test prehash 9 years ago
  Michael Hamburg 55126adc06 separate c wrapper struct for strobe and spongerng 9 years ago
  Michael Hamburg 1a14abb4dd Separate .h files for SHA/SHAKE, STROBE and sponge RNG. TODO: .hxx. Also add a lot of docs 9 years ago
  Michael Hamburg b5a2757f21 clear a couple fixmes 9 years ago
  Michael Hamburg 64adbd1082 split c crypto routines for now (a bit of a hack :-/) 9 years ago
  Mike Hamburg 5c4a6d86f0 sponge is now restrict for strobe_duplex, for all the difference that makes :-/ 9 years ago
  Michael Hamburg 565522ffdf trying to update to the latest version of strobe. lots of stuff in flux though 9 years ago
  Michael Hamburg 0f78ec28fc fix bug in tagforget 9 years ago
  Mike Hamburg 6bc7a3db3b rework build hierarchy to prepare for generated headers 9 years ago
  Michael Hamburg f8c32ba53f knock out some TODOs 9 years ago
  Michael Hamburg d501753648 factor common routines and data decls out into decaf_common.h. Now leaking NONNULL etc 9 years ago
  Michael Hamburg 469aa48079 switch to underlying field de/ser ops for portability 10 years ago
  Mike Hamburg 19612400f9 more strobe modes 10 years ago
  Mike Hamburg 9bbeb61b1f protocol examples 10 years ago
  Mike Hamburg 6665bb497e begin Strobe instance 10 years ago
  Mike Hamburg a6b94cb600 begin work on strobe 10 years ago
  Mike Hamburg 172477e76a working on shake C++ wrapper 10 years ago
  Michael Hamburg c8bf0382c5 code size related improvements 10 years ago
  Mike Hamburg 39ca07a060 fix rax input for rdrand detection 10 years ago
  Mike Hamburg 6c9230e398 SHAKE-based rng 10 years ago
  Michael Hamburg 608eb2e065 Begin work on decaf_crypto. Have an ECDH analog now. Add decaf_bzero. Remove a bunch of testing from bench.c. 10 years ago
  Michael Hamburg d280028cee define _BSD_SOURCE for endian 10 years ago
  Michael Hamburg f4c76b7487 SHAKE and SHA3 instances (experimental) based on code from David Leon Gil. Tested by hand but needs automatic KAT. I might also want to include Keyak or some similar duplex construction eventually. 10 years ago