I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 29e5aeff authored by jrandom's avatar jrandom Committed by zzz
Browse files

include the preIV in the verification hash

parent 0e5cf81f
No related branches found
No related tags found
No related merge requests found
<code>$Id: tunnel.html,v 1.10 2005/01/16 01:07:07 jrandom Exp $</code> <code>$Id: tunnel-alt.html,v 1.1 2005/01/18 10:55:17 jrandom Exp $</code>
<pre> <pre>
1) <a href="#tunnel.overview">Tunnel overview</a> 1) <a href="#tunnel.overview">Tunnel overview</a>
2) <a href="#tunnel.operation">Tunnel operation</a> 2) <a href="#tunnel.operation">Tunnel operation</a>
...@@ -102,7 +102,10 @@ fragments it across the necessary number of 1KB tunnel messages, and decides how ...@@ -102,7 +102,10 @@ fragments it across the necessary number of 1KB tunnel messages, and decides how
each I2NP message should be handled by the tunnel endpoint, encoding that each I2NP message should be handled by the tunnel endpoint, encoding that
data into the raw tunnel payload:</p> data into the raw tunnel payload:</p>
<ul> <ul>
<li>the first 4 bytes of the SHA256 of the remaining preprocessed data</li> <li>the first 4 bytes of the SHA256 of the remaining preprocessed data concatenated
with the preIV, using the preIV as will be seen on the tunnel endpoint (for
outbound tunnels) or the preIV as was seen on the tunnel gateway (for inbound
tunnels) (see below for preIV processing).</li>
<li>0 or more bytes containing random nonzero integers</li> <li>0 or more bytes containing random nonzero integers</li>
<li>1 byte containing 0x00</li> <li>1 byte containing 0x00</li>
<li>a series of zero or more { instructions, message } pairs</li> <li>a series of zero or more { instructions, message } pairs</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment