80 Commits (4adb584654460c30267d1799861ba81980fc0d4c)

Author SHA1 Message Date
  Michael Hamburg 3b9ffc4cc7 separate Ed25519ph from Ed25519 with awful CRTP hack 8 years ago
  Michael Hamburg 595855b434 move eddsa.hxx to its own header. sha512.hxx; rework shake.hxx header; create prehash object. TODO: test prehash 8 years ago
  Michael Hamburg 0fa687437f sha512 8 years ago
  Michael Hamburg 9d0bac672f move context arguments to the end of hash functions. Ed25519 doesnt support contexts. 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 a585d7f148 factor out elligator, decaf, scalar code. scalar_halve is now public 9 years ago
  Michael Hamburg 55766b76c9 homogenize invsqrt code 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 2e9512292e template curve_data 9 years ago
  Michael Hamburg f6ec8b2fc8 moving to a much simpler templating system 9 years ago
  Michael Hamburg 5311dd5863 auto-gen more field arithmetic data 9 years ago
  Mike Hamburg 9f1cc0e2af some more ct tests; serializeInto -> serialize_into. still need more ct tests, unification of snake vs camel case 9 years ago
  Michael Hamburg d81592ba71 make test_ct, except it probably doesnt work; definitely not on a mac with no memcheck.h installed 9 years ago
  Michael Hamburg 64efd989d6 use SC_LIMB in generated tables. Add a new "TODO" category, UNIFY for code that might be unified with other code 9 years ago
  Michael Hamburg 2e23ac747b move (some of the?) per-field code to src/per_field.c 9 years ago
  Mike Hamburg a5bed6b351 Working on getting cross-arch working again. Several TODOs. 9 years ago
  Michael Hamburg 6bc97fb756 need an include/arch_*/arch_intrinsics.h for other arches 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 e5491b67c1 some fixes to "make todo" 9 years ago
  Michael Hamburg 838fe2aa17 fix a makefile interaction on cxx headers? 9 years ago
  Michael Hamburg 48aa8215f2 only include public includes now 9 years ago
  Michael Hamburg 28ab1d592b prevent regenerating all headers every make 9 years ago
  Michael Hamburg 98be9a0820 now generating some headers for real 9 years ago
  Michael Hamburg 26b5917bbf remove decaf.c, to be restored later maybe 9 years ago
  Michael Hamburg facad6c2ac unify decaf_crypto c versions, still need to unify with c++ 9 years ago
  Michael Hamburg 64adbd1082 split c crypto routines for now (a bit of a hack :-/) 9 years ago
  Michael Hamburg 49629216f8 simplify elligator (todo: test more? eg 1/(1-d) on 25519) 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 9 years ago
  Michael Hamburg d703b31062 fix some PRECIOUS 9 years ago
  Michael Hamburg 719fcacc58 working on multicurve build system 9 years ago
  Mike Hamburg 60b14fb0f1 add FixedBuffer 9 years ago
  Mike Hamburg 538fe68866 OwnedOrUnowned as base for Precomputed 9 years ago
  Mike Hamburg 6bc7a3db3b rework build hierarchy to prepare for generated headers 9 years ago
  Michael Hamburg 42a561d018 some accel in for curve25519 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 03ecad0551 it compiles, but it certainly doesnt work yet 9 years ago
  Mike Hamburg 40b1f8b85e initial replace 448->255; doesnt compile yet 9 years ago
  Michael Hamburg 4fe3b9d06a begin groundwork for sage testing 9 years ago
  Mike Hamburg a1d33e0b6a change decaf_gen_tables to use FIELD_LITERAL so that `make bat` makes a portable bat 9 years ago
  Mike Hamburg 45a271dc0c fix most of SUPERCOP stuff. However, the results of `make bat` still are not portable because the generated tables use arch specific field element layout 9 years ago
  Michael Hamburg fc3be89e4c trying to templatize 9 years ago
  Michael Hamburg e6441d0c3c working on templatization 9 years ago
  Mike Hamburg 9f7b8eb1ca restore wno-overlength-strings (it was used for NEON) 9 years ago
  Mike Hamburg febe900161 makefile rpath settings 9 years ago
  Michael Hamburg f18cf359c6 remove files used by goldilocks/master, leaving only decaf 9 years ago
  Mike Hamburg 484e05b472 shuffling permutation. tested and benched on NEON; slightly faster than goldilocks original except verification which is slightly slower 9 years ago
  Michael Hamburg 469aa48079 switch to underlying field de/ser ops for portability 9 years ago