Skip to content

Commit

Permalink
H^2
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed Apr 3, 2018
1 parent ce937be commit 54d99e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monero.tex
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ \subsubsection{Transaction assembly algorithm}
\subsubsection{High-level protocol description}
All signatures are performed in the Trezor on the set of spending transaction outputs (TXO) in one step. Output range proofs are offloaded to the host as explained below.

Let $H$ be a cryptographic hash function $H : \{0,1\}^* \rightarrow \{0,1\}^{256}$, preferably Keccak-256 which is already used in the Monero. HMAC uses the hash function $H$. Binary operator $||$ is a binary concatenation.
Let $H$ be a cryptographic hash function $H : \{0,1\}^* \rightarrow \{0,1\}^{256}$, preferably Keccak-256 which is already used in the Monero. $H^2(x)$ is equivalent to $H(H(x))$. HMAC uses the hash function $H$. Binary operator $||$ is a binary concatenation.

\paragraph{State:}
Trezor holds a transaction state:
Expand Down

0 comments on commit 54d99e2

Please sign in to comment.