[or-cvs] Remove the notion of "onion ciphers"; make packing and unpa...

Nick Mathewson nickm at seul.org
Wed Apr 16 16:19:29 UTC 2003


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

Modified Files:
	TODO tor-spec.txt 
Log Message:
Remove the notion of "onion ciphers"; make packing and unpacking separate fns

Index: TODO
===================================================================
RCS file: /home/or/cvsroot/doc/TODO,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- TODO	19 Mar 2003 22:44:29 -0000	1.3
+++ TODO	16 Apr 2003 16:19:27 -0000	1.4
@@ -12,8 +12,8 @@
         X Abandoned
 
 
-        - Use a stronger cipher
-NICK            - 3des for now
+        . Use a stronger cipher
+                o 3des for now
                 - aes when we everybody has openssl 0.9.7
         . Topics / circuits
                 o Implement topics

Index: tor-spec.txt
===================================================================
RCS file: /home/or/cvsroot/doc/tor-spec.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- tor-spec.txt	5 Apr 2003 19:04:05 -0000	1.9
+++ tor-spec.txt	16 Apr 2003 16:19:27 -0000	1.10
@@ -273,13 +273,11 @@
    in a circuit.  Each (unencrypted) layer has the following fields:
 
          Version                  [1 byte]
-         Back cipher              [4 bits]
-         Forward cipher           [4 bits]
          Port                     [2 bytes]
          Address                  [4 bytes]
          Expiration time          [4 bytes]
          Key seed material        [16 bytes]
-                             [Total: 28 bytes]
+                             [Total: 27 bytes]
 
      The value of Version is currently 2.
 
@@ -287,7 +285,7 @@
           0: Identity 
           1: Single DES in OFB
           2: RC4
-          3: Triple DES in OFB
+          3: Triple DES (encrypt-decrypt-encrypt) in OFB
 
      The port and address field denote the IPV4 address and port of
      the next onion router in the circuit, or are set to 0 for the
@@ -305,7 +303,6 @@
       2. For I=N downto 1:
   
          A. Create an onion layer L, setting Version=2,
-            BackCipher=DES/OFB(1), ForwardCipher=DES/OFB(2), 
             ExpirationTime=now + 1 day, and Seed=16 random bytes.
 
             If I=N, set Port=Address=0.  Else, set Port and Address to



More information about the tor-commits mailing list