[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Changed a plus sign to a minus in the encoding algorithm.



Update of /home/minion/cvsroot/doc
In directory moria.mit.edu:/tmp/cvs-serv698

Modified Files:
	minion-spec.tex 
Log Message:
Changed a plus sign to a minus in the encoding algorithm.


Index: minion-spec.tex
===================================================================
RCS file: /home/minion/cvsroot/doc/minion-spec.tex,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- minion-spec.tex	13 Feb 2003 17:54:41 -0000	1.77
+++ minion-spec.tex	14 Feb 2003 12:19:06 -0000	1.78
@@ -351,9 +351,7 @@
   J_0 = ``'';
   for i = 1 .. N
 	J_i = J_(i-1) | PRNG(HASH(SK_i | ``RANDOM JUNK'')[0:16], SIZE_i)
-
         Stream_i = PRNG(HASH(SK_i | ``HEADER SECRET KEY''), 128*15 + SIZE_i);
-
 	J_i = J_i XOR Stream_i[128*15 -Len(J_i) + SIZE_i:Len(J_i)];
   end
 
@@ -363,10 +361,10 @@
   for i = N .. 1
 	K = HASH(SK_i | ``HEADER SECRET KEY'')[0:16];
 	IF i = N (set appropriate routing type and A_i)
-	EH = EXT( RI_i )
+	EH = EXT( RI_i+1 )
         REST = Encrypt(K, (EH | H_(i+1)))
-  	DIGEST = HASH(REST | J_(i+1))
-	H_i = ESHS(PK_i, V, SK_i, DIGEST, len(RI_(i+1)), RT_(i+1), RI_(i+1)) | REST
+  	DIGEST = HASH(REST | J_i-1)
+	H_i = ESHS(PK_i, V, SK_i, DIGEST, len(RI_i+1), RT_i+1, RI_i+1) | REST
   end
 
 return H_1;