Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test vectors for ZIP 32 arbitrary key derivation #103

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Nov 2, 2024

No description provided.

@@ -0,0 +1,8 @@
[
["From https://github.com/zcash-hackworks/zcash-test-vectors/blob/master/zip_0032_arbitrary.py"],
["sk, c"],
Copy link
Contributor

@daira daira Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the other test vectors I think we normally include the input (in this case the context, and the account id in the case of account-specific key derivation), not just the output. For example see test-vectors/rust/f4jumble.rs or test-vectors/rust/orchard_group_hash.rs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These test vectors follow how the existing ZIP 32 test vectors work for Sapling and Orchard.

Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK with non-blocking comment.

@str4d str4d merged commit 53cc8e2 into master Nov 13, 2024
3 checks passed
@str4d str4d deleted the arbitrary-key-derivation branch November 13, 2024 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants