Commit Graph

243 Commits

Author SHA1 Message Date
dependabot[bot] d5a51f1540
Bump proptest from 1.3.1 to 1.4.0 (#91)
Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases)
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.3.1...v1.4.0)

---
updated-dependencies:
- dependency-name: proptest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 11:44:08 -03:00
dependabot[bot] c734ce2cf5
Bump serde from 1.0.189 to 1.0.192 (#90)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.189 to 1.0.192.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.192)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 11:43:19 -03:00
dependabot[bot] 7bac2d402f
Bump serde_json from 1.0.107 to 1.0.108 (#88)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.107 to 1.0.108.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.107...v1.0.108)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-15 11:36:56 -03:00
dependabot[bot] 885f118fdf
Bump thiserror from 1.0.48 to 1.0.50 (#86)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.48 to 1.0.50.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.50)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:51:15 -03:00
dependabot[bot] 385e9b661d
Bump proptest from 1.2.0 to 1.3.1 (#84)
Bumps [proptest](https://github.com/proptest-rs/proptest) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/proptest-rs/proptest/releases)
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.2.0...v1.3.1)

---
updated-dependencies:
- dependency-name: proptest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:50:59 -03:00
dependabot[bot] 7f2d9e7763
Bump criterion from 0.4.0 to 0.5.1 (#85)
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.4.0 to 0.5.1.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.1)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:44:53 -03:00
dependabot[bot] a3b9744d7b
Bump proptest-derive from 0.3.0 to 0.4.0 (#83)
Bumps [proptest-derive](https://github.com/proptest-rs/proptest) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases)
- [Changelog](https://github.com/proptest-rs/proptest/blob/0.4.0/CHANGELOG.md)
- [Commits](https://github.com/proptest-rs/proptest/compare/proptest-derive-0.3.0...0.4.0)

---
updated-dependencies:
- dependency-name: proptest-derive
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:33:20 -03:00
dependabot[bot] 92abadc93e
Bump serde from 1.0.188 to 1.0.189 (#80)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.188 to 1.0.189.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.189)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:29:47 -03:00
dependabot[bot] 3429815d00
Bump byteorder from 1.4.3 to 1.5.0 (#81)
Bumps [byteorder](https://github.com/BurntSushi/byteorder) from 1.4.3 to 1.5.0.
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.3...1.5.0)

---
updated-dependencies:
- dependency-name: byteorder
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:09:47 -03:00
dependabot[bot] 6e9251bc0d
Bump num-traits from 0.2.16 to 0.2.17 (#78)
Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.16 to 0.2.17.
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.16...num-traits-0.2.17)

---
updated-dependencies:
- dependency-name: num-traits
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:06:47 -03:00
dependabot[bot] f13a302b5b
Bump rustix from 0.38.13 to 0.38.19 (#77)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.13 to 0.38.19.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.13...v0.38.19)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 19:05:16 -03:00
dependabot[bot] aa7e977be5
Bump actions/checkout from 4.1.0 to 4.1.1 (#76)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 16:38:39 -03:00
Conrado Gouvea 661ec4e845
dependabot: remove hardcoded reviewer (#72) 2023-10-19 17:35:19 +02:00
dependabot[bot] 5ea1293bb8
Bump actions/checkout from 3.5.3 to 4.1.0 (#71)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.3...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-06 11:47:22 -03:00
Conrado Gouvea ac524000e1
frost: incorporate recent fixes; add into_positive_y() to redpallas (#68)
* expose dkg module

* fix dkg compiling issues

* incorporate frost repo fixes; add into_positive_y() for RedPallas

* don't use all features in MSRV test

* remove unneeded frost-rerandomized import in dev-dependencies

* bump frost-rerandomized rev

* update to frost-rerandomized 0.7.0

* commit lockfile; update CI test to match
2023-10-03 21:12:01 +01:00
Conrado Gouvea b1bbad7bac
update FROST (#67) 2023-07-11 12:34:21 -03:00
dependabot[bot] eec9f7c656
Bump actions/checkout from 3.5.2 to 3.5.3 (#66)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 18:32:57 -03:00
dependabot[bot] 0f652cf79c Bump codecov/codecov-action from 3.1.3 to 3.1.4
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 12:19:43 -04:00
Marek 4f8ce48cd5
change: Refactor & optimize the NAF (#63)
* Make the NAF function generic

* Use the `jubjub` prefix for Jubjub types in tests

* Add tests for the NAF for Jubjub & Pallas scalars

* Use Rust's TryInto for [u8; 32]

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>

* Simplify the scalar conversion

* Revert "Simplify the scalar conversion"

This reverts commit f50ff9dd8a.

* Revert "Use Rust's TryInto for [u8; 32]"

This reverts commit 282c3b16ac.

---------

Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-04-25 14:51:13 -03:00
dependabot[bot] c31c5c4a4f Bump actions/checkout from 3.4.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.4.0...v3.5.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 19:47:06 -04:00
Conrado Gouvea dca09a3897 fix batch equation 2023-04-21 19:46:46 -04:00
dependabot[bot] 28e8f23d81 Bump codecov/codecov-action from 3.1.1 to 3.1.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.1 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.1...v3.1.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 19:43:53 -04:00
Marek cc558d4f79
feat: Add tests for vartime multiscalar multiplication (#57)
* Move Pallas tests to their own file

* Add tests for multiplication on Pallas

* Add tests for multiplication on Jubjub

* Use `assert_eq` instead of `assert`

* Apply suggestions from code review

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>

* Refactor Pallas tests

* Refactor Jubjub tests

* Use `product` instead of `res`

---------

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2023-04-21 20:24:11 -03:00
Conrado Gouvea f8ad8ea992
update to frost-rerandomized 0.2.0; change keygen_with_dealer to return HashMap (#59) 2023-04-20 22:00:17 +02:00
dependabot[bot] 32dc17a677
Bump actions/checkout from 3.3.0 to 3.4.0 (#50)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 12:01:15 -03:00
Conrado Gouvea 50620fc2f4
bump to 0.5.0; don't enable frost-rerandomized with std (#48)
* bump to 0.4.1; don't enable frost-rerandomized with std

* Apply suggestions from code review

Co-authored-by: str4d <thestr4d@gmail.com>

* add rust-version to Cargo.toml

* use published version of frost-rerandomized

---------

Co-authored-by: str4d <thestr4d@gmail.com>
2023-03-09 17:05:07 -03:00
Conrado Gouvea 3ac90e2e0a
fix calls to renamed DKG functions; move dkg code to its own file (#49) 2023-03-09 16:03:55 -03:00
Conrado Gouvea 797c18c213 bump MSRV to 1.60.0 in rust-toolchain 2023-03-01 18:02:39 -05:00
Conrado Gouvea cf7a577478 test MSRV in CI 2023-03-01 18:02:39 -05:00
str4d eadc48879a
Migrate to `group` 0.13, `jubjub` 0.10, `pasta_curves` 0.5 (#44) 2023-02-28 14:59:05 -03:00
Conrado Gouvea 08bb408846
add Pallas and Jubjub ciphersuites and FROST support (#33)
* clippy fixes; remove old FROST code

* add RedPallas ciphersuite and FROST support

* organized code

* simplified version

* remove randomized_frost; point to frost-randomized crate

* move rerandomized test to frost-rerandomized; clean up dependencies; add 'frost' feature

* remove stale comment

* add Jubjub support

* add torsion and identity checks where needed; tests

* Apply suggestions from code review

Co-authored-by: Marek <mail@marek.onl>

* Apply suggestions from code review

Co-authored-by: Marek <mail@marek.onl>

* change Jubjub serialize() to use to_bytes(); add comment to Pallas serialize()

* update frost-rerandomized version

* unpin nightly Rust in coverage.yaml

* fix conditional hex dependency

* move FROST code inside frost folder

* Apply suggestions from code review

Co-authored-by: Marek <mail@marek.onl>

---------

Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2023-02-28 00:01:50 +01:00
Deirdre Connolly 507dcdf695 Release 0.4.0 2023-01-30 22:25:00 -05:00
Conrado Gouvea 805ef4b5c0
port improvements from Zebra (#40)
* simplify fmt::Debug impls with new hex_if_possible()

* Update src/signature.rs authors

Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2023-01-30 16:16:53 -05:00
Conrado Gouvea 31f29420c8
unpin nightly Rust in coverage.yaml (#39) 2023-01-16 16:32:17 -03:00
dependabot[bot] 991cf42a01 Bump actions/checkout from 3.0.2 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.0.2...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 10:09:00 -05:00
Conrado Gouvea 6f0dffc12e clippy fixes; remove old FROST code 2023-01-02 19:20:08 -05:00
dependabot[bot] 4b0714b8ca Bump codecov/codecov-action from 3.1.0 to 3.1.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 19:19:22 -05:00
dependabot[bot] 5e98bcf4f6 Update criterion requirement from 0.3 to 0.4
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.0...0.4.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 19:19:12 -05:00
Taylor Hornby ff9a4ddd64
Label Zcash consensus rules in reddsa (#27) 2022-09-12 16:47:24 -03:00
Tomas Krnak 14d4622619
Fix alloc feature (#28)
* Fix alloc feature

* Update Cargo.toml

Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2022-09-12 16:45:43 -03:00
Conrado Gouvea 51b1519b0c fix category (no_std -> no-std) 2022-05-13 15:25:01 -04:00
Conrado Gouvea 4b25d06c5d
v0.3.0 release (#24) 2022-05-10 19:36:35 -03:00
Conrado Gouvea ebea547689 ci: test no_std build 2022-05-10 12:05:06 -07:00
Tomas Krnak ed11f440ce
Add `no-std` support (#11)
* Add no_std support

* Update CHANGELOG

* Remove unused alloc feature flag

* Remove a forgotten comment

Co-authored-by: str4d <thestr4d@gmail.com>

* Make zeroize dependency optional

* Add alloc feature flag

* Clean the code by outer attributes

* use 2021 edition

Co-authored-by: str4d <thestr4d@gmail.com>
Co-authored-by: Conrado Gouvea <conradoplg@gmail.com>
2022-05-06 11:57:45 -03:00
Jack Grigg 0e912de300 Migrate to `group` 0.12
Also noted that MSRV was bumped (accidentally) to 1.56 in the previous
release, and updated `rust-toolchain` to reflect it.
2022-05-05 18:23:07 -04:00
dependabot[bot] 62e5638d48 Bump codecov/codecov-action from 2.1.0 to 3.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 22:20:03 -04:00
dependabot[bot] 4f63f77c61 Bump actions/checkout from 3.0.0 to 3.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.0.0...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 22:19:40 -04:00
dependabot[bot] 3c5f87e1dd
Bump actions/checkout from 2.4.0 to 3 (#14)
* Bump actions/checkout from 2.4.0 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* full semver

* full semver

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2022-03-16 21:00:06 -04:00
Dimitris Apostolou c95eed9509
Fix typo (#13) 2022-01-20 11:24:06 -03:00
Deirdre Connolly af23f74080
CHANGELOG for 0.2.0 2022-01-19 18:04:48 -05:00