diff --git a/protocol/protocol.pdf b/protocol/protocol.pdf index cbc0f136..2d19c13b 100644 Binary files a/protocol/protocol.pdf and b/protocol/protocol.pdf differ diff --git a/protocol/protocol.tex b/protocol/protocol.tex index f385148d..eb790090 100644 --- a/protocol/protocol.tex +++ b/protocol/protocol.tex @@ -595,10 +595,10 @@ of two points sharing an $x$ coordinate on an elliptic curve. The raw encoding of a confidential address consists of: \begin{equation*} -\begin{bytefield}[bitwidth=0.07em]{520} - \bitbox{80}{$\PublicAddressLeadByte$} & +\begin{bytefield}[bitwidth=0.07em]{528} + \bitbox{48}{$\PublicAddressLeadByte$} & \bitbox{256}{$\SpendAuthorityPublic$ (32 bytes)} & - \bitbox{256}{A 33-byte encoding of $\TransmitPublic$} + \bitbox{264}{A 33-byte encoding of $\TransmitPublic$} \end{bytefield} \end{equation*} @@ -636,7 +636,7 @@ The raw encoding of a confidential address secret consists of, in order: \begin{equation*} \begin{bytefield}[bitwidth=0.07em]{520} - \bitbox{80}{$\PrivateAddressLeadByte$} & + \bitbox{48}{$\PrivateAddressLeadByte$} & \bitbox{256}{$\SpendAuthorityPrivate$ (32 bytes)} & \bitbox{256}{$\TransmitPrivate$ (32 bytes)} \end{bytefield} @@ -668,7 +668,7 @@ where: \begin{itemize} \item $\Value$ is a 64-bit unsigned integer representing the value of the \coin in \zatoshi (1 \ZEC = $10^8$ \zatoshi). - \item $\CoinAddressRand$ is a 32-byte $\PRFsn{\SpendAuthorityPrivate}$ seed. + \item $\CoinAddressRand$ is a 32-byte $\PRFsn{\SpendAuthorityPrivate}$ preimage. \item $\CoinCommitRand$ is a 48-byte \COMMtrapdoor. \end{itemize} @@ -680,10 +680,10 @@ paper is not encoded because it is fixed to zero. The raw encoding of a \transmittedPlaintext consists of, in order: \begin{equation*} -\begin{bytefield}[bitwidth=0.05em]{200} - \bitbox{80}{$\TransmitPlaintextVersionByte$} & - \bitbox{230}{$\Value$ (8 bytes, big endian)} & - \bitbox{230}{$\CoinAddressRand$ (32 bytes)} & +\begin{bytefield}[bitwidth=0.05em]{712} + \bitbox{64}{$\TransmitPlaintextVersionByte$} & + \bitbox{120}{$\Value$ (8 bytes)} & + \bitbox{256}{$\CoinAddressRand$ (32 bytes)} & \bitbox{384}{$\CoinCommitRand$ (48 bytes)} & \end{bytefield} \end{equation*}