mirror of https://github.com/zcash/zips.git
Cosmetics.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
8f647e0f08
commit
b9654c2823
|
@ -740,8 +740,8 @@ electronic commerce and payment, financial privacy, proof of work, zero knowledg
|
||||||
% Symmetric encryption
|
% Symmetric encryption
|
||||||
|
|
||||||
\newcommand{\Sym}{\mathsf{Sym}}
|
\newcommand{\Sym}{\mathsf{Sym}}
|
||||||
\newcommand{\SymEncrypt}[1]{\mathsf{Sym.}\mathtt{Encrypt}_{#1}}
|
\newcommand{\SymEncrypt}[1]{\Sym\mathsf{.Encrypt}_{#1}}
|
||||||
\newcommand{\SymDecrypt}[1]{\mathsf{Sym.}\mathtt{Decrypt}_{#1}}
|
\newcommand{\SymDecrypt}[1]{\Sym\mathsf{.Decrypt}_{#1}}
|
||||||
\newcommand{\SymSpecific}{\mathsf{AEAD\_CHACHA20\_POLY1305}}
|
\newcommand{\SymSpecific}{\mathsf{AEAD\_CHACHA20\_POLY1305}}
|
||||||
\newcommand{\SymCipher}{\mathsf{ChaCha20}}
|
\newcommand{\SymCipher}{\mathsf{ChaCha20}}
|
||||||
\newcommand{\SymAuth}{\mathsf{Poly1305}}
|
\newcommand{\SymAuth}{\mathsf{Poly1305}}
|
||||||
|
@ -3452,7 +3452,7 @@ Define:
|
||||||
|
|
||||||
\nsubsubsection{\HashFunctions}
|
\nsubsubsection{\HashFunctions}
|
||||||
|
|
||||||
\nsubsubsubsection{\MerkleTree \HashFunction} \label{merklecrh}
|
\nsubsubsubsection{\MerkleTree{} \HashFunction} \label{merklecrh}
|
||||||
|
|
||||||
$\MerkleCRH$ is used to hash \incrementalMerkleTree \merkleHashes.
|
$\MerkleCRH$ is used to hash \incrementalMerkleTree \merkleHashes.
|
||||||
It is instantiated by the $\SHAName$ function, which takes a 512-bit block
|
It is instantiated by the $\SHAName$ function, which takes a 512-bit block
|
||||||
|
@ -3509,7 +3509,7 @@ where
|
||||||
|
|
||||||
$\BlakeTwob{256}(p, x)$ refers to unkeyed $\BlakeTwob{256}$
|
$\BlakeTwob{256}(p, x)$ refers to unkeyed $\BlakeTwob{256}$
|
||||||
\cite{ANWW2013} in sequential mode, with an output
|
\cite{ANWW2013} in sequential mode, with an output
|
||||||
digest length of $32$ bytes, 16-byte personalization string $p$,
|
digest length of $32$ bytes, $16$-byte personalization string $p$,
|
||||||
and input $x$. This is not the same as $\BlakeTwob{512}$ truncated to
|
and input $x$. This is not the same as $\BlakeTwob{512}$ truncated to
|
||||||
$256$ bits, because the digest length is encoded in the parameter
|
$256$ bits, because the digest length is encoded in the parameter
|
||||||
block.
|
block.
|
||||||
|
@ -3620,7 +3620,7 @@ Indices of bits in $T$ are 1-based.
|
||||||
|
|
||||||
$\BlakeTwob{\ell}(p, x)$ refers to unkeyed $\BlakeTwob{\ell}$
|
$\BlakeTwob{\ell}(p, x)$ refers to unkeyed $\BlakeTwob{\ell}$
|
||||||
\cite{ANWW2013} in sequential mode, with an output
|
\cite{ANWW2013} in sequential mode, with an output
|
||||||
digest length of $\ell/8$ bytes, 16-byte personalization string $p$,
|
digest length of $\ell/8$ bytes, $16$-byte personalization string $p$,
|
||||||
and input $x$. This is not the same as $\BlakeTwob{512}$ truncated to
|
and input $x$. This is not the same as $\BlakeTwob{512}$ truncated to
|
||||||
$\ell$ bits, because the digest length is encoded in the parameter
|
$\ell$ bits, because the digest length is encoded in the parameter
|
||||||
block.
|
block.
|
||||||
|
@ -3850,7 +3850,7 @@ where:
|
||||||
|
|
||||||
$\BlakeTwob{256}(p, x)$ refers to unkeyed $\BlakeTwob{256}$
|
$\BlakeTwob{256}(p, x)$ refers to unkeyed $\BlakeTwob{256}$
|
||||||
\cite{ANWW2013} in sequential mode, with an output
|
\cite{ANWW2013} in sequential mode, with an output
|
||||||
digest length of $32$ bytes, 16-byte personalization string $p$,
|
digest length of $32$ bytes, $16$-byte personalization string $p$,
|
||||||
and input $x$. This is not the same as $\BlakeTwob{512}$ truncated to
|
and input $x$. This is not the same as $\BlakeTwob{512}$ truncated to
|
||||||
$256$ bits, because the digest length is encoded in the parameter
|
$256$ bits, because the digest length is encoded in the parameter
|
||||||
block.
|
block.
|
||||||
|
|
Loading…
Reference in New Issue