Author: toad
Date: 2007-09-29 23:05:28 +0000 (Sat, 29 Sep 2007)
New Revision: 15408
Modified:
trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
fix comment
Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java 2007-09-29
22:58:21 UTC (rev 15407)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java 2007-09-29
23:05:28 UTC (rev 15408)
@@ -889,7 +889,7 @@
final PCFBMode pk = PCFBMode.create(c);
int ivLength = pk.lengthIV();
int decypheredPayloadOffset = 0;
- // We compute the HMAC of ("I"+cyphertext) : the cyphertext
includes the IV!
+ // We compute the HMAC of ("R"+cyphertext) : the cyphertext
includes the IV!
byte[] prefix = null;
try { prefix = "R".getBytes("UTF-8"); } catch
(UnsupportedEncodingException e) {}
byte[] decypheredPayload = new byte[prefix.length +
(payload.length-inputOffset)];