mirror of https://github.com/zcash/zips.git
ZIP 316: correct wording that assumed zero padding (i.e. had not been updated for inclusion of HRP).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
a31336c9c6
commit
d4cddc0615
|
@ -447,8 +447,8 @@ c^{n+m}}{q}.\)</span>
|
||||||
<span class="math">\(\ell^\mathsf{MAX}_M\)</span>
|
<span class="math">\(\ell^\mathsf{MAX}_M\)</span>
|
||||||
bytes; otherwise it applies
|
bytes; otherwise it applies
|
||||||
<span class="math">\(\mathsf{F4Jumble}^{-1}.\)</span>
|
<span class="math">\(\mathsf{F4Jumble}^{-1}.\)</span>
|
||||||
It rejects any result that does not end in the expected padding, before stripping these 16 bytes and parsing the result.</p>
|
It rejects any result that does not end in the expected 16-byte padding, before stripping these 16 bytes and parsing the result.</p>
|
||||||
<p>(48 bytes is the minimum size of a valid UA, UFVK, or UIVK raw encoding plus 16 zero bytes, corresponding to a single Sapling Incoming Viewing Key.
|
<p>(48 bytes is the minimum size of a valid UA, UFVK, or UIVK raw encoding plus 16 bytes of padding, corresponding to a single Sapling Incoming Viewing Key.
|
||||||
<span class="math">\(\ell^\mathsf{MAX}_M\)</span>
|
<span class="math">\(\ell^\mathsf{MAX}_M\)</span>
|
||||||
bytes is the largest input/output size supported by
|
bytes is the largest input/output size supported by
|
||||||
<span class="math">\(\mathsf{F4Jumble}.\)</span>
|
<span class="math">\(\mathsf{F4Jumble}.\)</span>
|
||||||
|
|
10
zip-0316.rst
10
zip-0316.rst
|
@ -634,13 +634,13 @@ before encoding the result with Bech32m.
|
||||||
The Consumer rejects any Bech32m-decoded byte sequence that is less than
|
The Consumer rejects any Bech32m-decoded byte sequence that is less than
|
||||||
48 bytes or greater than :math:`\ell^\mathsf{MAX}_M` bytes; otherwise it
|
48 bytes or greater than :math:`\ell^\mathsf{MAX}_M` bytes; otherwise it
|
||||||
applies :math:`\mathsf{F4Jumble}^{-1}.` It rejects any result that does
|
applies :math:`\mathsf{F4Jumble}^{-1}.` It rejects any result that does
|
||||||
not end in the expected padding, before stripping these 16 bytes and
|
not end in the expected 16-byte padding, before stripping these 16 bytes
|
||||||
parsing the result.
|
and parsing the result.
|
||||||
|
|
||||||
(48 bytes is the minimum size of a valid UA, UFVK, or UIVK raw encoding
|
(48 bytes is the minimum size of a valid UA, UFVK, or UIVK raw encoding
|
||||||
plus 16 zero bytes, corresponding to a single Sapling Incoming Viewing Key.
|
plus 16 bytes of padding, corresponding to a single Sapling Incoming
|
||||||
:math:`\ell^\mathsf{MAX}_M` bytes is the largest input/output size
|
Viewing Key. :math:`\ell^\mathsf{MAX}_M` bytes is the largest input/output
|
||||||
supported by :math:`\mathsf{F4Jumble}.`)
|
size supported by :math:`\mathsf{F4Jumble}.`)
|
||||||
|
|
||||||
Heuristic analysis
|
Heuristic analysis
|
||||||
''''''''''''''''''
|
''''''''''''''''''
|
||||||
|
|
Loading…
Reference in New Issue