Skip to content

Commit 6298f90

Browse files
authored
Simplification of encoding in the computation of rho (#92)
This simplifies the encoding of the $\mathsf{nf}$ argument in the computation of $\rho$, so that it avoids the double use of $\mathsf{LEBS2OSP(I2LEOSP(...))}$.
1 parent 06f63ca commit 6298f90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rendered/zip-0227.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412
<li>
413413
<span class="math">\(\mathsf{PRF}^{\mathsf{Rho}} : \mathbb{B}^{256} \times \mathbb{B}^{\mathbb{Y}^{[\mathbb{N}]}} \to \mathbb{B}^{512}\)</span>
414414
is defined as
415-
<span class="math">\(\mathsf{PRF}^{\mathsf{Rho}}(\mathsf{k},t) := \textsf{BLAKE2b-512}(\mathtt{"ZSA\_IssueNoteRho"}, \mathsf{LEBS2OSP}_{256}(\mathsf{k}) \| t)\)</span>
415+
<span class="math">\(\mathsf{PRF}^{\mathsf{Rho}}(\mathsf{k},t) := \textsf{BLAKE2b-512}(\mathtt{"ZSA\_IssueNoteRho"}, \mathsf{k} \| t)\)</span>
416416
</li>
417417
</ul>
418418
<p>The

zips/zip-0227.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ We define a function $\mathsf{DeriveIssuedRho} : \mathbb{F}_{q_{\mathbb{P}}} \ti
287287
where
288288

289289
- $\mathsf{ToBase}^{\mathsf{Rho}} : \mathbb{B}^{512} \to \mathbb{F}_{q_{\mathbb{P}}}$ is defined as $\mathsf{ToBase}^{\mathsf{Rho}}(x) := \mathsf{LEOS2IP}_{512}(x) \mod q_{\mathbb{P}}$
290-
- $\mathsf{PRF}^{\mathsf{Rho}} : \mathbb{B}^{256} \times \mathbb{B}^{\mathbb{Y}^{[\mathbb{N}]}} \to \mathbb{B}^{512}$ is defined as $\mathsf{PRF}^{\mathsf{Rho}}(\mathsf{k},t) := \textsf{BLAKE2b-512}(\mathtt{"ZSA\_IssueNoteRho"}, \mathsf{LEBS2OSP}_{256}(\mathsf{k}) \| t)$
290+
- $\mathsf{PRF}^{\mathsf{Rho}} : \mathbb{B}^{256} \times \mathbb{B}^{\mathbb{Y}^{[\mathbb{N}]}} \to \mathbb{B}^{512}$ is defined as $\mathsf{PRF}^{\mathsf{Rho}}(\mathsf{k},t) := \textsf{BLAKE2b-512}(\mathtt{"ZSA\_IssueNoteRho"}, \mathsf{k} \| t)$
291291

292292
The $\text{ρ}$ field of an Issue Note is computed as
293293

0 commit comments

Comments
 (0)