Skip to content

Test vectors for ZIP 32 arbitrary key derivation#103

Merged
str4d merged 2 commits into
masterfrom
arbitrary-key-derivation
Nov 13, 2024
Merged

Test vectors for ZIP 32 arbitrary key derivation#103
str4d merged 2 commits into
masterfrom
arbitrary-key-derivation

Conversation

@str4d
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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