Commit Graph

1178 Commits

Author SHA1 Message Date
Paul 3ebec5f349 added sign and verify 2022-09-05 21:07:02 +03:00
Paul d3ad5e14b8 added prepare 2022-09-04 13:44:12 +03:00
Paul aca6c71fb3 added tests 2022-09-01 15:40:44 +03:00
Paul b20a3e1f73 added test 2022-09-01 15:12:44 +03:00
Paul f014f85065 added add_recipent to `IssueBundle` 2022-08-31 20:14:12 +03:00
Paul ca0935e7f1 fmt 2022-07-27 14:21:19 +03:00
Paul c7a87831db updated issuance 2022-07-27 14:20:32 +03:00
Paul 95079aa8b7 updated issue 2022-07-27 14:20:32 +03:00
Paul d15600caee added IssueAction 2022-07-27 14:20:32 +03:00
Paul b86a5e0462 removed comment 2022-07-27 14:16:30 +03:00
Paul 93f0244642 rustfmt 2022-07-27 14:13:46 +03:00
Paul 45bf2d6e46 Merge branch 'zsa1' into zsa-builder 2022-07-27 14:04:55 +03:00
Paul c8d35576cc minor update 2022-07-27 13:47:56 +03:00
naure ac71bc7528
ZSA note encryption in Orchard crate (#3)
* Circleci project setup (#1)

* Added .circleci/config.yml

* Added NoteType to Notes

* reformated file

* updated `derive` for NoteType

* added note_type to value commit derivation

* rustfmt

* updated ci config

* updated ci config

* updated ci config

* updated derive for note_type

* added test for arb note_type

* added test for `native` note type

* zsa-note-encryption: introduce AssetType and encode and decode it in note plaintexts

* zsa-note-encryption: extend the size of compact notes to include asset_type

* fixed clippy warrnings

* rustfmt

* zsa-note-encryption: document parsing requirement

* zsa-note-encryption: revert support of ZSA compact action

* zsa_value: add NoteType method is_native

* zsa-note-encryption: remove dependency on changes in the other crate

* zsa-note-encryption: extract memo of ZSA notes

* zsa-note-encryption: tests (zcash_test_vectors 77c73492)

* zsa-note-encryption: simplify roundtrip test

* zsa-note-encryption: more test vectors (zcash_test_vectors c10da464)

* Circleci project setup (#1)

* Added .circleci/config.yml

* issuer keys implementation (#5)

Implements the issuer keys as

    IssuerAuthorizingKey -> isk
    IssuerVerifyingKey -> ik

Test vectors generated with zcash_test_vectors repo

* Added NoteType to Notes (#2)

* Added NoteType to Notes
* Added NoteType to value commitment derivation

* zsa-note-encryption: use both native and ZSA in proptests

* zsa-note-encryption: test vector commit 51398c93

* zsa-note-encryption: fix after merge

Co-authored-by: Paul <3682187+PaulLaux@users.noreply.github.com>
Co-authored-by: Paul <lauxpaul@protonmail.com>
Co-authored-by: Aurélien Nicolas <info@nau.re>
Co-authored-by: Daniel Benarroch <danielbenarroch92@gmail.com>
2022-07-20 13:08:58 +02:00
Paul 60a17a2179 Merge branch 'zsa1' into zsa-builder 2022-07-18 13:19:47 +03:00
Paul 48d65ee706 added note_type to builder 2022-07-18 12:33:25 +03:00
Paul 5ae51075db Added NoteType to Notes (#2)
* Added NoteType to Notes
* Added NoteType to value commitment derivation
2022-07-18 12:03:51 +03:00
Daniel Benarroch 71565ee933 issuer keys implementation (#5)
Implements the issuer keys as

    IssuerAuthorizingKey -> isk
    IssuerVerifyingKey -> ik

Test vectors generated with zcash_test_vectors repo
2022-07-18 12:03:51 +03:00
Paul 33a205b94c Circleci project setup (#1)
* Added .circleci/config.yml
2022-07-18 12:03:51 +03:00
str4d 3faab98e9e
Merge pull request #342 from zcash/release-0.2.0
Release 0.2.0
2022-06-24 17:23:22 +01:00
Jack Grigg 597f37a869 orchard 0.2.0 2022-06-24 15:37:35 +00:00
Jack Grigg 9cc142ea3b pprof 0.9 2022-06-24 15:36:19 +00:00
Jack Grigg 5f7f1afd46 Update changelog 2022-06-24 15:36:12 +00:00
str4d baabe3d7e2
Merge pull request #340 from zingolabs/enable_compact_action_and_orchard_domain_creation_without_action
Add OrchardDomain::for_nullifier and CompactAction::from_parts
2022-06-24 16:32:34 +01:00
str4d 1a77930f5f
Merge pull request #341 from zcash/minor-fixes
Minor fixes
2022-06-24 00:24:04 +01:00
Jack Grigg e76a91adff Document how to obtain inputs for `Builder::add_spend`
Closes zcash/orchard#244.
2022-06-23 22:51:05 +00:00
Jack Grigg 1a1c3c30b0 book: Finish incomplete sentence on nullifier page
Closes zcash/orchard#195.
2022-06-23 22:46:45 +00:00
Jack Grigg da7358a48c Fix incorrect namespaces in circuit debug code
Closes zcash/orchard#329.
2022-06-23 22:33:10 +00:00
str4d 6c0532776c
Merge pull request #338 from zcash/batch-validation
Add `orchard::bundle::BatchValidator`
2022-06-23 23:10:52 +01:00
str4d 4bed67218a
Add note about relationship between signatures and proofs
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-06-23 22:33:40 +01:00
Jack Grigg 81626b3b28 Add batch-verification of proofs to `orchard::bundle::BatchValidator` 2022-06-23 19:45:42 +00:00
Jack Grigg 35a76f03b8 Add `orchard::bundle::BatchValidator`
Adapted from the `BatchValidator` in `zcashd`, that only handles
RedPallas signatures.
2022-06-23 19:45:25 +00:00
str4d b448f3f4c5
Merge pull request #336 from zcash/halo2_proofs-0.2.0
Migrate to `halo2_proofs 0.2.0`
2022-06-23 20:44:47 +01:00
Hazel OHearn 22b77c028f
Remove unneeded generic type from for_nullifier 2022-06-23 16:29:55 -03:00
Jack Grigg be69324b9c Migrate to `halo2_proofs 0.2.0` 2022-06-23 19:24:57 +00:00
Hazel OHearn 6956c18d31
Add CompactAction::nullifier getter fn 2022-06-23 16:06:37 -03:00
Hazel OHearn 4e12b4e90a
Add OrchardDomain::for_nullifier and CompactAction::from_parts 2022-06-22 17:41:24 -03:00
Daira Hopwood 8aba4c59fd
Merge pull request #333 from zcash/bosl-copyright
Change copyright attribution for the LICENSE-BOSL file
2022-06-17 00:02:50 +01:00
Paul 3a6ed1ed30 Merge branch 'zsa1' into zsa-note-encryption 2022-06-15 13:16:03 +03:00
Paul 8a6f59927e
Added NoteType to Notes (#2)
* Added NoteType to Notes
* Added NoteType to value commitment derivation
2022-06-14 21:23:03 +03:00
Daniel Benarroch 769f2f7b9c
issuer keys implementation (#5)
Implements the issuer keys as

    IssuerAuthorizingKey -> isk
    IssuerVerifyingKey -> ik

Test vectors generated with zcash_test_vectors repo
2022-06-14 18:33:34 +03:00
Paul ce91df1699 Circleci project setup (#1)
* Added .circleci/config.yml
2022-06-14 18:32:12 +03:00
Aurélien Nicolas 66f040faa2 zsa-note-encryption: more test vectors (zcash_test_vectors c10da464) 2022-06-12 16:24:24 +02:00
Aurélien Nicolas 1a6658dcdb zsa-note-encryption: simplify roundtrip test 2022-06-12 16:15:05 +02:00
Aurélien Nicolas 1f11f1db6d zsa-note-encryption: tests (zcash_test_vectors 77c73492) 2022-06-12 15:18:33 +02:00
Aurélien Nicolas 94626af9d2 zsa-note-encryption: extract memo of ZSA notes 2022-05-29 18:01:43 +02:00
Aurélien Nicolas 9a7d76c21e zsa-note-encryption: remove dependency on changes in the other crate 2022-05-29 17:29:06 +02:00
Aurélien Nicolas b04468cabc Merge branch 'zsa-note-encryption' into zsa-value-and-encryption 2022-05-29 17:17:30 +02:00
Aurélien Nicolas 50ce4e2cf5 zsa_value: add NoteType method is_native 2022-05-29 16:42:03 +02:00
Aurélien Nicolas 826378a25c zsa-note-encryption: revert support of ZSA compact action 2022-05-29 12:56:16 +02:00