-
Notifications
You must be signed in to change notification settings - Fork 158
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
ZIP 32: Define an arbitrary key derivation process #908
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK with suggestions.
Force-pushed to add missing BCP 14 keywords and re-render. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
zips/zip-0032.rst
Outdated
We instantiate the hardened key generation process with the following constants: | ||
|
||
- :math:`\mathsf{Arbitrary.MKGDomain} = \texttt{“ZcashArbitraryKD”}` | ||
- :math:`\mathsf{Arbitrary.CKDDomain} = [\texttt{0xAB}]` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be included in https://zips.z.cash/protocol/protocol.pdf#abstractprfs, but not necessarily in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed #909.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK f14fc99. Needs ZIP Editor review.
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 55173c8
Oops, this required ZIP Editor review. Sorry about that, I've been used to just merging. (I should probably adjust my permissions on zcash/zips to not be able to do that so easily.) |
This makes the changes to align with the change in notation for ZIP 32 done in zcash#908.
derivation. This should be tracked as part of the global set of domains defined for | ||
:math:`\mathsf{PRF^{expand}}`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add reference to spec (section 4.1.2)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed post-merge by @nuttycom @arya2 @conradoplg
The hardened-only key derivation process from Orchard key derivation is extracted for reuse.