Commit Graph

9 Commits

Author SHA1 Message Date
Jack Grigg fea2456bef Fix Orchard key components test vectors
- Removed `note_r` (scalar copied from Sapling)
- Added `note_rseed` (bytes)
- `note_psi` needs to be derived from `note_rseed`
- missing `dk`, `note_rho` from output
2021-05-28 11:51:57 +01:00
therealyingtong 63a1e76fb9 Add orchard_utils.py 2021-05-26 14:10:36 +08:00
therealyingtong e50da335f5 Use randomness in test and address review comments 2021-05-26 13:30:52 +08:00
therealyingtong 646ff15777 Use ff1 for default diversifier 2021-05-26 13:29:59 +08:00
therealyingtong f1342994dd Case ivk as Scalar in default_pkd() 2021-05-14 11:16:34 +08:00
therealyingtong 04587ac9ba Fix Scalar typecasting
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-05-14 11:16:34 +08:00
therealyingtong d5a8927316 Remove unnecessary to_base()
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-05-14 11:16:34 +08:00
therealyingtong 77f1299d9b Add derive_nullifier() method 2021-05-14 11:16:34 +08:00
Daira Hopwood 8ce3cfb8d9 Add orchard_key_components.py.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2021-05-14 11:16:34 +08:00