Jack Grigg
|
79988a5317
|
Move the interpolation logic into `SharedSecret::batch_to_affine`
This makes the method interface clearer, as the same pattern of shared
secrets is returned as was provided.
|
2021-08-13 14:27:20 +01:00 |
Jack Grigg
|
8e13986101
|
Implement `Domain::batch_epk` for note decryption
Improves throughput of batched trial decryption by around 10%.
|
2021-08-12 01:36:38 +01:00 |
Jack Grigg
|
2283310236
|
Expose `orchard::note_encryption::{CompactAction, OrchardNoteEncryption}`
This also removes the `orchard::OrchardDomain` re-export, which is now
available at `orchard::note_encryption::OrchardDomain`.
|
2021-08-06 01:01:12 +01:00 |
Kris Nuttycombe
|
ab2622f59c
|
Make note encryption OrchardDomain type public.
|
2021-06-30 12:47:37 -06:00 |
Kris Nuttycombe
|
234eed9cbb
|
Update src/note_encryption.rs
Co-authored-by: str4d <jack@electriccoin.co>
|
2021-06-30 11:58:28 -06:00 |
Kris Nuttycombe
|
1e95360a74
|
Add for_action method for constructing an OrchardDomain
|
2021-06-30 11:21:07 -06:00 |
Daira Hopwood
|
81fb944997
|
Make this crate clippy clean for warnings on nightly.
One .clone() removal; all of the other changes are removing needless borrows that are immediately
dereferenced: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-06-21 18:04:00 +01:00 |
Daira Hopwood
|
1c19bea842
|
Fix clippy lints.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
|
2021-06-16 19:13:40 +01:00 |
Jack Grigg
|
769be6c080
|
Note encryption test vectors
|
2021-06-11 23:55:17 +01:00 |
Jack Grigg
|
99665572a2
|
Orchard note encryption
|
2021-06-11 23:55:16 +01:00 |