8 Commits (7527e91a56ddc3c47c35edf54563aee3188df930)

Author SHA1 Message Date
  Michael Hamburg 45eb0e14d3 change the misleading mul_by_cofactor functions to mul_by_ratio, and create ENCODE_RATIO and DECODE_ratio constants to represent this 7 years ago
  Michael Hamburg 4de924c786 Incorporate test vectors from Dalek 7 years ago
  Michael Hamburg 2bcccebd8d expose mul_by_cofactor_and_encode_like_x, but need to adjust clearing ratios 7 years ago
  Michael Hamburg 1a38c25d9d CFRG crypto back to working, just need to do elligator inversion for identity on x25519 7 years ago
  Michael Hamburg e69e00269f rename publicly-visible macros to DECAF_ namespace 8 years ago
  Michael Hamburg beba37006a deprecated macros, thanks Olivier Chéron and Tomi Ollila 8 years ago
  Michael Hamburg af606fb195 x448 generate_key -> derive_public_key to match ed448 nomenclature 8 years ago
  Michael Hamburg bc80c744bf decaf/decaf_[field].h[xx] -> decaf/point_[field].h[xx] 9 years ago
  Michael Hamburg 28086a96d1 remove python dependency by checking in generated code 9 years ago
  Michael Hamburg e22c967171 change eddsa encoding names to show that they multiply_by_cofactor 9 years ago
  Michael Hamburg 83cfd6cae1 change x### function names again, this time to decaf_x###, decaf_x###_generate_key 9 years ago
  Michael Hamburg 714a5db7a0 decaf_###_x_direct_scalarmul -> decaf_x###_direct_scalarmul 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
  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 798b189a77 minor changes; clear a few TODOs 9 years ago
  Michael Hamburg 9d0bac672f move context arguments to the end of hash functions. Ed25519 doesnt support contexts. 9 years ago
  Michael Hamburg b1c6de6309 EdDSA 448 seems to be working. Needs more testing, code moved around. EdDSA 255 not working yet; needs SHA512 9 years ago
  Michael Hamburg fffb77ac2d eddsa sign seems to work for ed448. needs more testing of course 9 years ago
  Michael Hamburg d0e74a585a eddsa key generation, at least for goldilocks. needs parameterized hash function; sign/verify; rename; put in right place 9 years ago
  Michael Hamburg 650356c5f5 elligator overflow bits. 9 years ago
  Michael Hamburg 1f54f5c8ed change __attribute__((nonnull(list of pointers))) to __attribute__((nonnull)) 9 years ago
  Michael Hamburg a585d7f148 factor out elligator, decaf, scalar code. scalar_halve is now public 9 years ago
  Michael Hamburg 08bbb567de dont go via asm anymore. also reduce the number of templated expressions 9 years ago
  Michael Hamburg d94a147194 move everything over to more-tolerable templating 9 years ago
  Michael Hamburg 3a5ba3e075 no more API_NS2. 9 years ago
  Michael Hamburg c9abcef055 add some pathological test cases, clearing a few TODO items. Also scalar_set_unsigned now takes a uint64_t instead of a word_t 9 years ago
  Michael Hamburg 9b6fbecc1c warning that base point might change for release version, to better integrate with x25510/448 or ed 9 years ago
  Michael Hamburg 2eacff6ad6 rfc7748 implementation, but their names will probably change 9 years ago
  Mike Hamburg a5bed6b351 Working on getting cross-arch working again. Several TODOs. 9 years ago
  Michael Hamburg 294eabaec7 generate f_field.h 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 47d4b080e9 generator is almost ready to drop in 9 years ago
  Michael Hamburg e167aad7e4 working on python generation 9 years ago
  Michael Hamburg 72399d53d7 working on python generation 9 years ago
  Michael Hamburg a3b094eb99 trying to make headers the same, for future unified generation 9 years ago
  Mike Hamburg 704b424982 dual scalarmul because of TLS discussion 9 years ago
  Michael Hamburg a1f5348e18 beginning to separate errors from bools. not there yet though 9 years ago
  Michael Hamburg 36b54ca3db clear an include ordering fixme 9 years ago
  Michael Hamburg 3f1c687f5e add point_cond_sel and scalar_cond_sel; avoid asserting on direct_scalarmul when given garbage 9 years ago
  Michael Hamburg e95b7c7f0e made scalar inverse WARN_UNUSED and made it throw. Small fix to sagetest. Changed some places that assumed that success is true, in case I want to adopt the proposal that success is 0 9 years ago
  Michael Hamburg cdab495338 Cross-curve compilation working! Still a bunch of FIXMEs though 10 years ago
  Mike Hamburg 6bc7a3db3b rework build hierarchy to prepare for generated headers 10 years ago
  Michael Hamburg 2705bd26af another few TODOs down 10 years ago
  Michael Hamburg d501753648 factor common routines and data decls out into decaf_common.h. Now leaking NONNULL etc 10 years ago
  Michael Hamburg db0a12de2a working on breaking up include files 10 years ago
  Michael Hamburg 202ed7fea2 change 2torque to torque, which is 4torque in ed25519 case 10 years ago
  Mike Hamburg 40b1f8b85e initial replace 448->255; doesnt compile yet 10 years ago
  Michael Hamburg 0241632a25 Create functions for inverting Elligator. 10 years ago
  Michael Hamburg e6441d0c3c working on templatization 10 years ago
  Mike Hamburg a6b94cb600 begin work on strobe 10 years ago