Commit Graph

  • d42e6ae478 use stack for table in Scalar::invert() to prevent leaking values to the heap invert-alloc-stack Conrado Gouvea 2023-07-13 14:44:36 -0300
  • 614e4cfc14 remove asserts that could leak timing information remove-leaking-asserts Conrado Gouvea 2023-07-13 14:30:35 -0300
  • ed18a112f3
    fix FieldElement56::negate (fix mentioned by @pornin in #28) (#29) Conrado Gouvea 2023-07-12 19:14:26 -0300
  • 4239660ab3 fix FieldElement56::negate (fix mentioned by @pornin in #28) fix-field-negate Conrado Gouvea 2023-07-12 18:57:48 -0300
  • 30946a3dcb
    Some "cleanup" works (#27) 进栈检票 2023-05-19 20:32:12 +0800
  • 2adc09fb6b update to 0.9 Kevaundray Wedderburn 2023-03-10 23:31:05 +0000
  • f4b79838ee Merge branch 'develop' Kevaundray Wedderburn 2023-03-10 23:29:51 +0000
  • ec4c7c81d5
    add Scalar::to_bytes_rfc_8032() (#25) Conrado Gouvea 2023-03-10 19:52:32 -0300
  • 58ba66bf3c add Scalar::to_bytes_rfc_8032() to_bytes_rfc_8032 Conrado Gouvea 2023-03-10 19:46:44 -0300
  • 54ffc6b8f1
    add Scalar::from_canonical_bytes(), from_bytes_mod_order_wide() and random() (#23) Conrado Gouvea 2022-12-01 20:21:24 -0300
  • 4b4f933e48 add Scalar::from_canonical_bytes(), from_bytes_mod_order_wide() and random() frost-changes Conrado Gouvea 2022-11-28 10:27:04 -0300
  • 9ebb11c775
    fix bugs in ExtendedPoint::compress and decompress (#22) Conrado Gouvea 2022-12-01 17:48:19 -0300
  • a62df6884a fix bugs in ExtendedPoint::compress and decompress fix-compress-decompress Conrado Gouvea 2022-12-01 15:14:35 -0300
  • 0da8969a6f
    derive Hash for MontgomeryPoint (#21) An Onion 2022-02-04 00:05:38 +0000
  • 448597e600
    allow non snake case names (#20) An Onion 2022-02-04 00:04:43 +0000
  • aab05bc3a9 update version Kevaundray Wedderburn 2022-01-31 21:13:19 +0000
  • 9fbc3bbef4
    add optional Zeroize support for MontgomeryPoint (#19) An Onion 2022-01-31 21:10:45 +0000
  • 1e6ec0938e Decaf Kevaundray Wedderburn 2021-02-07 20:23:13 +0000
  • feb4808180 Decaf Kevaundray Wedderburn 2021-02-07 20:15:23 +0000
  • 2bfabe90fe Decaf Kevaundray Wedderburn 2021-02-07 19:50:02 +0000
  • f81402eb22 cargo toml Kevaundray Wedderburn 2021-02-07 19:46:34 +0000
  • 8add69f9c2 Decaf Kevaundray Wedderburn 2021-02-07 19:46:14 +0000
  • ce7e9b183b cargo toml Kevaundray Wedderburn 2021-02-07 19:26:34 +0000
  • b9e9312698 Decaf Kevaundray Wedderburn 2021-02-07 19:25:57 +0000
  • 7fdcb6d02d impl Mul trait for Montgomery Kevaundray Wedderburn 2020-05-30 19:17:34 +0100
  • d01d77fa5e update cargo.toml Kevaundray Wedderburn 2020-05-30 16:46:36 +0100
  • 41364e6010 update reade Kevaundray Wedderburn 2020-05-30 16:45:40 +0100
  • 618d0968cd add as_bytes method for montgomery Kevaundray Wedderburn 2020-05-30 16:45:12 +0100
  • 71965a697b fix_comment Kevaundray Wedderburn 2020-05-30 15:56:39 +0100
  • 5867d5d912 update version Kevaundray Wedderburn 2020-05-30 15:46:16 +0100
  • 7057d9006d Add low order points on the montgomery curve, and a function to return the generator specified in RFC7748 Kevaundray Wedderburn 2020-05-30 15:45:54 +0100
  • 73a7ecf466 change default backend master Kevaundray Wedderburn 2020-05-27 18:20:24 +0100
  • 03e086f2cb add dalek copyright Kevaundray Wedderburn 2020-05-27 18:18:35 +0100
  • 8e9afd58bd Add new addition chain for inversion in F_p Kevaundray Wedderburn 2020-05-23 20:35:54 +0100
  • 0ea8352bba remove duplicate test Kevaundray Wedderburn 2020-05-22 20:46:52 +0100
  • 1b908bd1e2 - Temporarily remove signed multi comb scalar multiplication [Readability] Kevaundray Wedderburn 2020-05-22 20:44:20 +0100
  • f7f92143c4 Refactor identity method for to_projective_niels() method Kevaundray Wedderburn 2020-05-22 20:42:58 +0100
  • 1e2497b503 - remove &mut from add_projective_neils method - Switch around t1 and t2, for the identity, just to be consistent with x and y Kevaundray Wedderburn 2020-05-22 20:41:59 +0100
  • 28a3638070 refactor 4-isogeny to only use 1 inversion Kevaundray Wedderburn 2020-05-22 20:41:00 +0100
  • 681cf51b4c rename test name to be more descriptive Kevaundray Wedderburn 2020-05-22 20:40:15 +0100
  • 8361bcfa7b recode scalars to be between -8 and 8 Kevaundray Wedderburn 2020-05-22 20:39:53 +0100
  • b8338be937 update readme Kevaundray Wedderburn 2020-05-19 22:12:31 +0100
  • 4de41fdcc0 Remove conditional_assign and conditional_swap as they can be derived from conditional_select Kevaundray Wedderburn 2020-05-19 22:09:52 +0100
  • b3154fde89 - Move equality of field elements to the Field element layer - Move is_zero method to field element layer Kevaundray Wedderburn 2020-05-19 22:07:42 +0100
  • fddfd1a996 remove unused comment Kevaundray Wedderburn 2020-05-19 21:50:47 +0100
  • 397b7ac2ba Refactor tests to be generic over the field element backend chosen Kevaundray Wedderburn 2020-05-19 21:41:17 +0100
  • 169e28351c - Remove to_extensible method from affine. Kevaundray Wedderburn 2020-05-19 21:26:23 +0100
  • 1d1d246461 add fiat_u64 backend feature for constants Kevaundray Wedderburn 2020-05-19 21:25:43 +0100
  • 1e3353169b Add test to derive the basepoints Kevaundray Wedderburn 2020-05-19 21:24:57 +0100
  • f2a918631c Remove duplicated methods Kevaundray Wedderburn 2020-05-19 21:21:00 +0100
  • 01ec6ca3fb Add backend for radix 2^56 using fiat-crypto Kevaundray Wedderburn 2020-05-19 21:20:14 +0100
  • bd65f9215b - Rename Fq to FieldElement28 - Rename fq.rs to prime_field.rs - As we only have 1 implementation for scalar.rs , move it to the top level temporarily Kevaundray Wedderburn 2020-05-19 21:18:40 +0100
  • df007a8d0b - Replace select_mask with ct_eq - Remove test vectors (not helpful with two backends) - Replace all u28 field elements with generic field elements Kevaundray Wedderburn 2020-05-19 21:16:28 +0100
  • 77e81520c6 remove select mask method Kevaundray Wedderburn 2020-05-19 21:12:38 +0100
  • dda5f3028e simplify basic inversion test Kevaundray Wedderburn 2020-05-11 19:41:12 +0100
  • b8278c7adc fix bug in halve method Kevaundray Wedderburn 2020-05-11 19:21:35 +0100
  • 3e13e4ffe3 Format comments and explain the variance from paper Kevaundray Wedderburn 2020-05-09 20:44:09 +0100
  • 8fcaa0305a clean up test and fix wrong import Kevaundray Wedderburn 2020-05-09 20:42:25 +0100
  • e5b9508a6f Extensible: Kevaundray Wedderburn 2020-05-09 20:17:07 +0100
  • 4794b6e8b5 cargo fmt Kevaundray Wedderburn 2020-05-09 20:11:26 +0100
  • d496cd4b5b Clean up to_extended method and move conditionally negatable under subtle trait implementation Kevaundray Wedderburn 2020-05-09 20:11:04 +0100
  • 7311d13a6a Remove all unused constants and rename the constants that are for TWISTED-GOLDILOCKS explicitly Kevaundray Wedderburn 2020-05-09 20:10:19 +0100
  • 8e2f3a1f59 Remove all field arithmetic with no reductions from the EC layer Kevaundray Wedderburn 2020-05-09 18:27:59 +0100
  • 2fd3866c92 clean up scalar mul in goldilocks Kevaundray Wedderburn 2020-05-09 18:03:28 +0100
  • fc95a07299 Scalar : Make one() and zero constant functions Kevaundray Wedderburn 2020-05-09 17:06:40 +0100
  • 310a3b9f3e update readme Kevaundray Wedderburn 2020-05-09 17:01:23 +0100
  • a9c5f58347 Add one-way test for Goldilocks to Montgomery Kevaundray Wedderburn 2020-05-09 17:01:03 +0100
  • bb0c36f5ab Change method name to div_by_four Kevaundray Wedderburn 2020-05-08 23:22:40 +0100
  • 1f02caf087 update readme Kevaundray Wedderburn 2020-05-08 23:13:47 +0100
  • 7a239a902d cargo fmt Kevaundray Wedderburn 2020-05-08 23:13:30 +0100
  • 19a7149b35 use generic strategy for scalar mul Kevaundray Wedderburn 2020-05-08 23:13:14 +0100
  • ef19c36431 Scalar : add floor(scalar/4) method Kevaundray Wedderburn 2020-05-08 23:08:57 +0100
  • 0757533749 Implement constant time equals for Scalar Kevaundray Wedderburn 2020-05-07 22:46:24 +0100
  • e1d8c3dc32 Move Scalar adjustment factor into signed multi comb file directly Kevaundray Wedderburn 2020-05-07 22:39:40 +0100
  • b25bcc4f74 Add in-efficient double base scalar mul Kevaundray Wedderburn 2020-05-07 22:39:13 +0100
  • fbbaad7dcf Remove AffineNiels Table while its not being used Kevaundray Wedderburn 2020-05-07 22:38:31 +0100
  • 3a18561a4e Rename package to Ed448-Goldilocks Kevaundray Wedderburn 2020-05-07 21:18:28 +0100
  • 6335618266 Fix credits and add a bear Kevaundray Wedderburn 2020-05-07 21:18:09 +0100
  • 29207f91f2 Remove starter test Kevaundray Wedderburn 2020-05-07 21:17:41 +0100
  • e78e26c8fc Affine; Twisted_Edwards : Use correct D and fix tests to match this Kevaundray Wedderburn 2020-05-07 21:16:37 +0100
  • 4497a4d41c Extended: Add comments Kevaundray Wedderburn 2020-05-07 21:16:03 +0100
  • 9d411d6be6 Add TWISTED_D as a constant Kevaundray Wedderburn 2020-05-07 21:15:29 +0100
  • 1e4781a6f1 - Add comments - Remove un-necessary test - Remove redundant equals methods Kevaundray Wedderburn 2020-05-07 21:14:42 +0100
  • 9cb14a1eb9 Fq: Remove field element specific tests, so they do not need to be repeated per backend Kevaundray Wedderburn 2020-05-04 20:42:46 +0100
  • 0a61fe29cf update cargo.toml Kevaundray Wedderburn 2020-05-04 20:01:41 +0100
  • 736cca8bc9 expose to_bytes method Kevaundray Wedderburn 2020-05-04 20:01:16 +0100
  • 2bccbd4f69 update toml Kevaundray Wedderburn 2020-05-04 19:50:49 +0100
  • db20467ea7 expose scalar Kevaundray Wedderburn 2020-05-04 19:50:23 +0100
  • dc160ed9ed cargo toml : set version to 0.2 Kevaundray Wedderburn 2020-05-04 19:43:09 +0100
  • 53e7005aa2 - Expose Montgomery and EdwardsPoint - Remove visibility of the Field Kevaundray Wedderburn 2020-05-04 19:42:30 +0100
  • 5ef7d51510 Remove extra keywords from cargo Kevaundray Wedderburn 2020-05-04 19:27:03 +0100
  • 85f2feba17 exclude github file from package Kevaundray Wedderburn 2020-05-04 19:25:42 +0100
  • 6dbe33864f cargo.toml add cargo information Kevaundray Wedderburn 2020-05-04 19:23:53 +0100
  • f2d751f8f2 gitignore Kevaundray Wedderburn 2020-05-04 19:18:27 +0100
  • ca62b8a21a fmt Kevaundray Wedderburn 2020-05-04 19:17:58 +0100
  • d2514fa1a6 change package name Kevaundray Wedderburn 2020-05-04 19:17:25 +0100
  • b0fd3ff846 Add generator for goldilocks and twisted variant Kevaundray Wedderburn 2020-05-03 21:00:11 +0100
  • 80c6d8ef56 Add test for generator through the 2-isogeny Kevaundray Wedderburn 2020-05-03 20:59:46 +0100
  • 3e19e2e4db multi: - Define Basepoint for goldilocks and twisted variant - Refactor DECAF_BASE_POINT to use Twisted edwards basepoint Kevaundray Wedderburn 2020-05-03 20:52:03 +0100
  • e48ac4b825 update readme Kevaundray Wedderburn 2020-05-03 20:50:01 +0100