Skip to content

Commit

Permalink
Applying suggestions from ZIP review
Browse files Browse the repository at this point in the history
Co-authored-by: Daira-Emma Hopwood <[email protected]>
  • Loading branch information
vivek-arte and daira authored Oct 31, 2024
1 parent 993e6dc commit 20ef938
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zips/zip-0227.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,15 @@ Issuance authorizing key generation for hierarchical deterministic wallets
The issuance authorizing key is generated using the Hardened-only key derivation process defined in ZIP 32 [#zip-0032-hardened-only-key-derivation]_.
For the :math:`\mathsf{Issuance}` context, we define the following constants:

- :math:`\mathsf{Issuance.\!MKGDomain} := \texttt{"ZIP32ZSAIssue_V1"}`
- :math:`\mathsf{Issuance.\!MKGDomain} := \texttt{"ZcashSA_Issue_V1"}`
- :math:`\mathsf{Issuance.\!CKDDomain} := \mathtt{0x81}\!`

Let :math:`S` be a seed byte sequence of a chosen length, which MUST be at least 32 and at most 252 bytes.
We define the master extended issuance key :math:`m_{\mathsf{Issuance}} := \mathsf{MKGh}^{\mathsf{Issuance}}(S)\!`.

We use hardened-only child key derivation as defined in ZIP 32 [#zip-0032-hardened-only-child-key-derivation]_ for the issuance authorizing key.

:math:`\mathsf{CDKsk}((\mathsf{sk}_{par},\mathsf{c}_{par}), i) \rightarrow (\mathsf{sk}_{i}, \mathsf{c}_{i})`
:math:`\mathsf{CKDsk}((\mathsf{sk}_{par},\mathsf{c}_{par}), i) \rightarrow (\mathsf{sk}_{i}, \mathsf{c}_{i})`

- Return :math:`\mathsf{CKDh}^{\mathsf{Issuance}}((\mathsf{sk}_{par},\mathsf{c}_{par}), i)\!`

Expand Down
4 changes: 2 additions & 2 deletions zips/zip-0230.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,10 @@ An issuance note, ``IssueNote`` contains the following fields:
| | | |:math:`\mathsf{AssetBase^{Orchard}}\!`, as defined in 'ZIP 227'. |
+-----------------------------+--------------------------+--------------------------------------+--------------------------------------------------------------------+
|``32`` |``rho`` |``byte[32]`` |This is defined and encoded in the same manner as for Orchard |
| | | |notes in protocol §3.2 'Notes'. |
| | | |notes in protocol §3.2.1 'Note Plaintexts and Memo Fields'. |
+-----------------------------+--------------------------+--------------------------------------+--------------------------------------------------------------------+
|``32`` |``rseed`` |``byte[32]`` |The ``rseed`` field of the note, encoded as for Orchard notes in |
| | | |protocol §3.2 'Notes'. |
| | | |protocol §3.2.1 'Note Plaintexts and Memo Fields'. |
+-----------------------------+--------------------------+--------------------------------------+--------------------------------------------------------------------+


Expand Down

0 comments on commit 20ef938

Please sign in to comment.