Commit Graph

  • 0903ae23e7
    Use correct symbol in incomplete addition section ying tong 2021-05-21 17:43:08 +0800
  • 7109153e88
    Merge pull request #43 from zcash/constants str4d 2021-05-18 20:44:59 +0100
  • 38f1c9e14f
    Merge pull request #75 from zcash/ecc-gadget str4d 2021-05-18 20:34:28 +0100
  • ff504c1a3f Address review comments. therealyingtong 2021-05-18 17:14:13 +0800
  • 2962115aef Reintroduce point doubling API therealyingtong 2021-05-18 16:45:43 +0800
  • af30f4b141 Add Eq to the EccChip trait therealyingtong 2021-05-18 16:12:06 +0800
  • caa3791562 Documentation fixes. therealyingtong 2021-05-18 16:07:40 +0800
  • edea9bde73 Document incomplete point addition error handling therealyingtong 2021-05-18 12:26:59 +0800
  • c8076c2864 Add FixedPointsShort associated type therealyingtong 2021-05-18 12:09:49 +0800
  • 74c797165f Add range check for short scalar therealyingtong 2021-05-18 12:03:40 +0800
  • fb9da0b1b3 Address review comments. therealyingtong 2021-05-18 09:45:03 +0800
  • 1a761cb03f
    Merge pull request #81 from nuttycom/bundle_clone Kris Nuttycombe 2021-05-13 16:18:37 -0600
  • 800e540875 Make the `Bundle` type implement `Clone` Kris Nuttycombe 2021-05-13 15:35:44 -0600
  • 81d751d1b6 Add proptest for decompose_scalar_fixed() therealyingtong 2021-05-13 11:32:54 +0800
  • 077f809df7 Cleanups from code review therealyingtong 2021-05-13 10:48:10 +0800
  • 4423b50788 Include ρ as an input to the derivation of ψ, esk, and rcm Jack Grigg 2021-05-11 18:50:01 +0800
  • 736de1156b Ensure that Notes always have valid commitments Jack Grigg 2021-05-11 18:39:24 +0800
  • d8cc596bbe Create separate types for protocol-level and user-level ivk Jack Grigg 2021-05-11 22:07:08 +1200
  • 76a39d29c1 Change diversify_hash and ka_orchard to use non-zero types Jack Grigg 2021-05-11 20:06:16 +1200
  • 9a828febd7 Change `commit_ivk` to return a non-zero Pallas base field element Jack Grigg 2021-05-11 19:08:39 +1200
  • d0c16910d6 book: Document why ivk != 0 Jack Grigg 2021-05-11 18:22:57 +1200
  • 012d14073d Remove rand 0.7 usage Jack Grigg 2021-05-09 07:51:55 +1200
  • 3117187280
    Merge pull request #65 from nuttycom/zip_225_updates Kris Nuttycombe 2021-05-06 11:46:27 -0600
  • 1e0c644a81 Detail optimised variable-base scalar mul therealyingtong 2021-05-06 19:42:11 +0800
  • db60fd2262 Add FixedPointShort associated type therealyingtong 2021-05-06 15:42:01 +0800
  • 6a64bc1c37 Expose Point.add_incomplete() therealyingtong 2021-05-06 12:50:50 +0800
  • e82a76da2a Remove unused OrchardFixedBases trait therealyingtong 2021-05-06 12:52:52 +0800
  • c9f1060bb9 Minor correction to type signature (naming) Kris Nuttycombe 2021-05-05 17:44:10 -0600
  • bf4532fd7d Properly condition generators on flags. Kris Nuttycombe 2021-05-05 17:36:05 -0600
  • 71736433d0 Rename arb_nonnegative_note_value -> arb_note_value_bounded Kris Nuttycombe 2021-05-05 17:23:21 -0600
  • 3170096134 Publicly expose `MAX_NOTE_VALUE` Kris Nuttycombe 2021-05-05 17:19:42 -0600
  • 6373d3d422 Fix incorrect generation for bsk/bvk consistency test. Kris Nuttycombe 2021-05-05 17:12:31 -0600
  • 8f3f4a8479 Make note module public. Kris Nuttycombe 2021-05-05 14:05:17 -0600
  • 6c681d0539 Generate uniformly distributed nullifiers. Kris Nuttycombe 2021-05-05 13:39:41 -0600
  • aa11eb1372 Derive the full range of ValueCommitment values. Kris Nuttycombe 2021-05-05 11:55:06 -0600
  • e72d74ccd6 Remove extraneous pub exports from the root. Kris Nuttycombe 2021-05-05 11:46:24 -0600
  • 7ea8900a58 Implement AsRef for Proof Kris Nuttycombe 2021-05-05 11:37:56 -0600
  • a08d060725 Remove unneeded pub(crate) Kris Nuttycombe 2021-05-05 11:23:30 -0600
  • 226673938a Pass flags to arbitrary action generators. Kris Nuttycombe 2021-05-05 11:21:45 -0600
  • 88b8265165 Generate both spend and output values for actions. Kris Nuttycombe 2021-05-05 11:10:52 -0600
  • 4f2b4d2935 Address review comments therealyingtong 2021-05-04 13:13:04 +0800
  • a789b89135 Check both u64 max and min in ValueSum arithemetic. Kris Nuttycombe 2021-05-04 16:33:08 -0600
  • 4bf6202c35 Modify ECC gadget to work with chip refactor therealyingtong 2021-04-26 23:17:08 +0800
  • 1815d914a1 deploy: 27b95d3405 str4d 2021-05-03 22:53:22 +0000
  • 27b95d3405
    Merge pull request #74 from zcash/ci-lints str4d 2021-05-03 23:47:53 +0100
  • 8dbc5125c5 CI: Reduce noise of clippy lints Jack Grigg 2021-05-04 09:18:30 +1200
  • b5de8e6c27 Only store Z_SHORT and U_SHORT for value_commit_v therealyingtong 2021-05-04 05:05:32 +0800
  • 380ed377de Fix bug in Sinsemilla S generators and add test therealyingtong 2021-05-04 02:54:57 +0800
  • 11d90692e1 Fix bugs in value_commit_v, value_commit_r generators therealyingtong 2021-05-04 02:04:56 +0800
  • 119d721ecd Use ArrayVec therealyingtong 2021-05-03 23:55:37 +0800
  • 1ee5392163
    Documentation fixes ying tong 2021-05-03 22:28:22 +0800
  • 4afdeeeb76 Add mapping over bundle value balance. Kris Nuttycombe 2021-04-30 09:43:51 -0600
  • b1ac90b77a
    Fix incorrect generator comments. Kris Nuttycombe 2021-04-30 08:02:09 -0600
  • a119a27ee7 Clean up value balance generation. Kris Nuttycombe 2021-04-30 07:59:46 -0600
  • 25c90dda4b Add fast generation for not-consensus-valid authorized bundles and actions. Kris Nuttycombe 2021-04-29 16:14:16 -0600
  • 3c12877f87 Use a deterministic PRNG seeded from arb data for proptests. Kris Nuttycombe 2021-04-29 09:55:11 -0600
  • f91088d35b Use builder to generate "valid" bundles via proptest. Kris Nuttycombe 2021-04-27 13:56:36 -0600
  • 4d89d45332 Add proptest generators for action and bundle types. Kris Nuttycombe 2021-04-27 07:49:49 -0600
  • 75573d331a Add canonical byte conversions for value commitments. Kris Nuttycombe 2021-04-23 12:53:13 -0600
  • fc0f55d82b Make ValueSum correctly respect the proper specified range. Kris Nuttycombe 2021-04-23 12:47:22 -0600
  • a5c9fb953b Add accessors necessary for zip-225 write. Kris Nuttycombe 2021-04-21 14:32:54 -0600
  • e743198a50 Expose constructors required for ZIP-225 parsing. Kris Nuttycombe 2021-04-21 09:57:48 -0600
  • e8f65a2158
    Merge pull request #49 from zcash/builder str4d 2021-04-29 00:03:26 +0100
  • d383ff5054 Fix clippy lints Jack Grigg 2021-04-29 10:57:53 +1200
  • 223b7ac533 Replace signing metadata tuple with struct Jack Grigg 2021-04-29 10:38:08 +1200
  • de75c9538b Update constants after hash_to_field fix (zcash/pasta_curves@a119467) therealyingtong 2021-04-23 20:06:23 +0800
  • 13d7da3c45 Replace OrchardFixedBases enum with newtypes therealyingtong 2021-04-13 23:01:07 +0800
  • e26b6c6123 Test every row in test_lagrange_coeffs() instead of using random scalar therealyingtong 2021-04-13 22:26:18 +0800
  • ce6e59bdb8 Address review comments therealyingtong 2021-04-09 21:01:26 +0800
  • 17b66e1c6a Remember u-values therealyingtong 2021-03-27 18:03:03 +0800
  • 69d4c4c35a Round up division for NUM_WINDOWS therealyingtong 2021-03-27 18:02:37 +0800
  • 70ce1ca53f Impl PartialOrd and Ord for OrchardFixedBases therealyingtong 2021-03-26 11:59:08 +0800
  • 21060393fe Remove redundant imports therealyingtong 2021-03-25 14:59:08 +0800
  • 6cc957e998 Add constants for short signed scalar mul therealyingtong 2021-03-25 00:39:47 +0800
  • 137ebf4a5a Add rand crate to dependencies therealyingtong 2021-03-25 00:11:28 +0800
  • e4d6af620f Add l_value to constants therealyingtong 2021-03-24 19:46:34 +0800
  • 3381b15cd9 Use fixed-size array for windows in tables therealyingtong 2021-03-24 13:18:00 +0800
  • d915097407 Implement Hash, PartialEq, Eq for OrchardFixedBases therealyingtong 2021-03-24 00:42:30 +0800
  • 2c11f3a048 Add Orchard fixed bases and tests therealyingtong 2021-03-18 23:38:31 +0800
  • 4f1f32dab0 Add Sinsemilla constants therealyingtong 2021-03-17 17:17:01 +0800
  • 91fd290ffc Add SWU hash-to-curve personalizations therealyingtong 2021-03-18 23:38:18 +0800
  • 374391b217 Bring in reddsa fix that re-enables tests in debug mode Jack Grigg 2021-04-28 14:19:58 +1200
  • 186914166a Use `zero` instead of `default` for empty values Jack Grigg 2021-04-28 09:06:33 +1200
  • 575f882b40
    Merge pull request #72 from zcash/builder-prep Kris Nuttycombe 2021-04-27 07:51:04 -0600
  • 6d4ceb989f Fix CI to run builder tests successfully Jack Grigg 2021-04-27 14:13:48 +1200
  • 30f01d122c Bundle builder Jack Grigg 2021-04-15 16:14:34 +1200
  • 497f7e0b86 Remove bundle::Unauthorized type Jack Grigg 2021-04-27 12:30:16 +1200
  • 316729302d cargo fmt Jack Grigg 2021-04-27 12:28:42 +1200
  • a60051c8a2 Add from_raw constructors to NoteValue and ValueSum Jack Grigg 2021-04-27 12:27:23 +1200
  • 52d87e257c Return SpendingKey from Note::dummy Jack Grigg 2021-04-27 12:25:03 +1200
  • 5ec65c5d2a Add a mutable context to Bundle::{try_}authorize Jack Grigg 2021-04-27 12:22:04 +1200
  • d47f0a8f27 deploy: 5f4a56dc92 steven-ecc 2021-04-26 23:48:27 +0000
  • 5f4a56dc92
    Merge pull request #61 from steven-ecc/change-tgppl-to-bosl Steven 2021-04-26 16:42:00 -0700
  • 43d1bac11d
    Update Cargo.toml Steven 2021-04-26 16:41:14 -0700
  • 29b3071c67 Fix doc comments for bundle flags Jack Grigg 2021-04-27 09:10:32 +1200
  • 36529629bc Expose Flags constructor & accessors. Kris Nuttycombe 2021-04-23 13:04:45 -0600
  • 3dbebbe08b
    Merge pull request #58 from zcash/proof-placeholder str4d 2021-04-26 19:11:56 +0100
  • 4016e7b3f8 Remove use of BTreeMap in configure() therealyingtong 2021-04-26 12:13:13 +0800
  • e881b19b6a
    Apply suggestions from code review ying tong 2021-04-23 22:03:04 +0800
  • 6c5624d524
    Merge pull request #66 from zcash/ecc-chip-config ying tong 2021-04-23 21:35:51 +0800