aboutsummaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-10 17:25:17 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-10 17:25:17 +0000
commitc24627fa6ffb09de364d92be9135ef3c4e7f620b (patch)
treef35cb8fa62b505802e53022f65463c23726a072d /doc/spec
parent9dd0516003b37a56b3ca3c82467597c991ad0e27 (diff)
downloadtor-c24627fa6ffb09de364d92be9135ef3c4e7f620b.tar
tor-c24627fa6ffb09de364d92be9135ef3c4e7f620b.tar.gz
fix a typo in tor-spec.txt
svn:r17561
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/tor-spec.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/spec/tor-spec.txt b/doc/spec/tor-spec.txt
index 642c695b6..8c6508f6e 100644
--- a/doc/spec/tor-spec.txt
+++ b/doc/spec/tor-spec.txt
@@ -61,11 +61,9 @@ see tor-design.pdf.
For a public-key cipher, we use RSA with 1024-bit keys and a fixed
exponent of 65537. We use OAEP-MGF1 padding, with SHA-1 as its digest
- function. We leave optional the "Label" parameter unset. (For OAEP
+ function. We leave the optional "Label" parameter unset. (For OAEP
padding, see ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf)
- [Nick, what does "we leave optional the Label parameter unset" mean? -RD]
-
For Diffie-Hellman, we use a generator (g) of 2. For the modulus (p), we
use the 1024-bit safe prime from rfc2409 section 6.2 whose hex
representation is:
@@ -382,7 +380,7 @@ see tor-design.pdf.
This value is hybrid-encrypted (see 0.3) to Bob's onion key, giving
an onion-skin of:
PK-encrypted:
- Padding padding [PK_PAD_LEN bytes]
+ Padding [PK_PAD_LEN bytes]
Symmetric key [KEY_LEN bytes]
First part of g^x [PK_ENC_LEN-PK_PAD_LEN-KEY_LEN bytes]
Symmetrically encrypted: