mirror of https://github.com/zcash/zips.git
Correct the order of arguments to RedDSA.Randomize{Private,Public}.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
f4facef8c8
commit
7b6df9f623
|
@ -6104,15 +6104,15 @@ Define $\RedDSARandomizerId := 0 \pmod{\ParamG{r}}$.
|
||||||
\vspace{1ex}
|
\vspace{1ex}
|
||||||
|
|
||||||
\introlist
|
\introlist
|
||||||
Define $\RedDSARandomizePrivate \typecolon \RedDSAPrivate \times \RedDSARandom \rightarrow \RedDSAPrivate$ by:
|
Define $\RedDSARandomizePrivate \typecolon \RedDSARandom \times \RedDSAPrivate \rightarrow \RedDSAPrivate$ by:
|
||||||
\begin{formulae}
|
\begin{formulae}
|
||||||
\item $\RedDSARandomizePrivate(\sk, \RedDSARandomizer) := \sk + \RedDSARandomizer \pmod{\ParamG{r}}$.
|
\item $\RedDSARandomizePrivate(\RedDSARandomizer, \sk) := \sk + \RedDSARandomizer \pmod{\ParamG{r}}$.
|
||||||
\end{formulae}
|
\end{formulae}
|
||||||
|
|
||||||
\introlist
|
\introlist
|
||||||
Define $\RedDSARandomizePublic \typecolon \RedDSAPublic \times \RedDSARandom \rightarrow \RedDSAPublic$ as:
|
Define $\RedDSARandomizePublic \typecolon \RedDSARandom \times \RedDSAPublic \rightarrow \RedDSAPublic$ as:
|
||||||
\begin{formulae}
|
\begin{formulae}
|
||||||
\item $\RedDSARandomizePrivate(\vk, \RedDSARandomizer) := \vk + \scalarmult{\RedDSARandomizer}{\GenG{}}$.
|
\item $\RedDSARandomizePrivate(\RedDSARandomizer, \vk) := \vk + \scalarmult{\RedDSARandomizer}{\GenG{}}$.
|
||||||
\end{formulae}
|
\end{formulae}
|
||||||
|
|
||||||
\introlist
|
\introlist
|
||||||
|
@ -9002,6 +9002,9 @@ found by Brian Warner.
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Add Michael Dixon and Andrew Poelstra to acknowledgements.
|
\item Add Michael Dixon and Andrew Poelstra to acknowledgements.
|
||||||
|
\sapling{
|
||||||
|
\item Correct the order of arguments to $\RedDSARandomizePrivate$ and $\RedDSARandomizePublic$.
|
||||||
|
} %sapling
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\introlist
|
\introlist
|
||||||
|
|
Loading…
Reference in New Issue