Author: nextgens
Date: 2008-01-28 10:26:49 +0000 (Mon, 28 Jan 2008)
New Revision: 17344

Modified:
   trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
JFK: Update the comments so that they are consistent with the code.
The authenticator is HMAC{Hkr}[g^r, g^i, Nr, Ni, IPi] everywhere

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-01-28 
10:22:33 UTC (rev 17343)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-01-28 
10:26:49 UTC (rev 17344)
@@ -981,7 +981,7 @@
         * 
         * Format:
         * Ni, Nr, g^i, g^r
-        * Authenticator - HMAC{g^ir}(g^r, g^i, Nr, Ni, IP)
+        * Authenticator - HMAC{Hkr}[g^r, g^i, Nr, Ni, IPi]
         * HMAC{Ka}(cyphertext)
         * IV + E{KE}[S{i}[Ni,Nr,g^i,g^r,idR, bootID, znoderefI], bootID, 
znoderefI*]
         * 
@@ -1344,7 +1344,7 @@
        /*
         * Format:
         * Ni, Nr, g^i, g^r
-        * Authenticator - HMAC{g^ir}(g^r, Nr, Ni, IP)
+        * Authenticator - HMAC{Hkr}[g^r, g^i, Nr, Ni, IPi]
         * HMAC{Ka}(cyphertext)
         * IV + E{KE}[S{i}[Ni,Nr,g^i,g^r,idR, bootID, znoderefI], bootID, 
znoderefI]
         * 


Reply via email to