88 Commits (bdf4375b52b99726f230f3740bb4acd7c91bcc7a)

Author SHA1 Message Date
  Michael Hamburg bdf4375b52 normalize some of the word and limb size declarations, still not entirely happy on that front 9 years ago
  Michael Hamburg 23726f4f73 clear a todo from f_arithmetic.c 9 years ago
  Michael Hamburg 49629216f8 simplify elligator (todo: test more? eg 1/(1-d) on 25519) 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 3ba3edc418 fix bench /0; some effort to bzero stack variables 9 years ago
  Michael Hamburg bc252f835a whups public_include 9 years ago
  Michael Hamburg cdab495338 Cross-curve compilation working! Still a bunch of FIXMEs though 9 years ago
  Michael Hamburg 719fcacc58 working on multicurve build system 9 years ago
  Michael Hamburg de735c77e2 knock out a couple TODOs 9 years ago
  Michael Hamburg 5af980b85a wipe out the multiple layers of rename between decaf_fast and field. still some serious HACKs in the include prio to avoid multiple definition of struct gf 9 years ago
  Mike Hamburg 8a1315e15f get rid of unchecked isqrt. will be a tiny slowdown for p448 invert, called only in batch_invert 9 years ago
  Mike Hamburg eab2a41d13 switch from xy positive to 1/xy positive; this is because it can make laddered direct_scalarmul almost sane. almost. 9 years ago
  Mike Hamburg 6bc7a3db3b rework build hierarchy to prepare for generated headers 9 years ago
  Mike Hamburg 36380f3e2a one more namespacing change 9 years ago
  Mike Hamburg 0b59ddc2bf move config to prime directories 9 years ago
  Mike Hamburg f825fd9b75 gcc compat changes 9 years ago
  Michael Hamburg 42a561d018 some accel in for curve25519 9 years ago
  Michael Hamburg 2705bd26af another few TODOs down 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 db0a12de2a working on breaking up include files 9 years ago
  Michael Hamburg 629a782fff Elligator now passes tests, but there are likely still missing preimages of rotations of the identity point. Also, projscaling elligator probably works, but it needs testing 9 years ago
  Michael Hamburg 89dfab34a8 remove hinting from forward elligator, at least in 25519. leaving test in broken state because, well, it is broken 10 years ago
  Michael Hamburg a53f9876f5 OK, most tests are now passing. Remaining known problems: 10 years ago
  Michael Hamburg 202ed7fea2 change 2torque to torque, which is 4torque in ed25519 case 10 years ago
  Michael Hamburg f68833cd1e passing everything but elligator with curve25519! though there are probably some lurking bugs... 10 years ago
  Michael Hamburg 092bbfd9a0 swap over to Curve25519 from PinkBikeShed. Elligator still doesnt work (closer than with pinkbikeshed tho...). Need to deal with the sign T to make EC tests pass. Somehow the high level crypto all passes .. i guess because everything stays in the subgroup 10 years ago
  Michael Hamburg e4cb764842 inverting elligator now mostly works, except for identity and overflow issues 10 years ago
  Michael Hamburg cbb8cceea9 elligator doesnt work; gonna compare some things to see why 10 years ago
  Michael Hamburg 4a76f50bc1 minor comment change 10 years ago
  Michael Hamburg d6461059f5 round-trip works 10 years ago
  Michael Hamburg 371192bfa0 actually elligator only almost works because of r=1 being weird. round-trip doesnt work 10 years ago
  Michael Hamburg a14dbafd2b decode and elligator work. probably encode still buggy. 10 years ago
  Michael Hamburg d81034d466 decode works 10 years ago
  Michael Hamburg 4b0bf31fc9 progress checkin. compiles. working on point decode. have switched some of the Ds over. BTW, you can see that this is using PinkBikeShed instead of the real Curve25519; this is temporary 10 years ago
  Michael Hamburg cc79f559b3 remove direct ladder for now 10 years ago
  Michael Hamburg 03ecad0551 it compiles, but it certainly doesnt work yet 10 years ago
  Mike Hamburg 40b1f8b85e initial replace 448->255; doesnt compile yet 10 years ago
  Michael Hamburg 6947f380bb comments related to paper 10 years ago
  Michael Hamburg 16f5679853 remove change which was used to work around test code limitations 10 years ago
  Michael Hamburg 0241632a25 Create functions for inverting Elligator. 10 years ago
  Michael Hamburg 424d88868d new version of nonuniform map from paper. definitely not as optimized as it could be but who cares? 10 years ago
  Michael Hamburg 07530b4ce5 switch base points to reflect draft-irtf-cfrg-curves-01. base point now computed by gen_tables 10 years ago
  Mike Hamburg a1d33e0b6a change decaf_gen_tables to use FIELD_LITERAL so that `make bat` makes a portable bat 10 years ago
  Mike Hamburg 97e98f5081 restore LBITS because NEON code needs it 10 years ago
  Michael Hamburg e6441d0c3c working on templatization 10 years ago
  Michael Hamburg b5f7c2eff8 tidy up 10 years ago
  Mike Hamburg 484e05b472 shuffling permutation. tested and benched on NEON; slightly faster than goldilocks original except verification which is slightly slower 10 years ago
  Michael Hamburg 469aa48079 switch to underlying field de/ser ops for portability 10 years ago
  Mike Hamburg a6b94cb600 begin work on strobe 10 years ago
  Mike Hamburg cf26bc48cf fix a 32-bit cleanness issue in decaf_fast; allow NOINIT constructors in hxx 10 years ago