From b9654c28230b5d7a94355db08f3da853afc4e3f7 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Wed, 7 Feb 2018 15:47:05 +0000 Subject: [PATCH] Cosmetics. Signed-off-by: Daira Hopwood --- protocol/protocol.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/protocol/protocol.tex b/protocol/protocol.tex index 3f9d1138..3257f84e 100644 --- a/protocol/protocol.tex +++ b/protocol/protocol.tex @@ -740,8 +740,8 @@ electronic commerce and payment, financial privacy, proof of work, zero knowledg % Symmetric encryption \newcommand{\Sym}{\mathsf{Sym}} -\newcommand{\SymEncrypt}[1]{\mathsf{Sym.}\mathtt{Encrypt}_{#1}} -\newcommand{\SymDecrypt}[1]{\mathsf{Sym.}\mathtt{Decrypt}_{#1}} +\newcommand{\SymEncrypt}[1]{\Sym\mathsf{.Encrypt}_{#1}} +\newcommand{\SymDecrypt}[1]{\Sym\mathsf{.Decrypt}_{#1}} \newcommand{\SymSpecific}{\mathsf{AEAD\_CHACHA20\_POLY1305}} \newcommand{\SymCipher}{\mathsf{ChaCha20}} \newcommand{\SymAuth}{\mathsf{Poly1305}} @@ -3452,7 +3452,7 @@ Define: \nsubsubsection{\HashFunctions} -\nsubsubsubsection{\MerkleTree \HashFunction} \label{merklecrh} +\nsubsubsubsection{\MerkleTree{} \HashFunction} \label{merklecrh} $\MerkleCRH$ is used to hash \incrementalMerkleTree \merkleHashes. 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}$ \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 $256$ bits, because the digest length is encoded in the parameter block. @@ -3620,7 +3620,7 @@ Indices of bits in $T$ are 1-based. $\BlakeTwob{\ell}(p, x)$ refers to unkeyed $\BlakeTwob{\ell}$ \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 $\ell$ bits, because the digest length is encoded in the parameter block. @@ -3850,7 +3850,7 @@ where: $\BlakeTwob{256}(p, x)$ refers to unkeyed $\BlakeTwob{256}$ \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 $256$ bits, because the digest length is encoded in the parameter block.