From 4384e30ca2c7d64aad9462a4de1ce1e761831f56 Mon Sep 17 00:00:00 2001 From: Emil Engler Date: Fri, 5 May 2023 14:10:11 +0200 Subject: tor-spec: define the EXP(a, b) function This commit adds an explanation of the meaning behind the EXP(a, b) function, primarily targeted for readers without a deep understanding of the cryptography. Fixes #195 --- tor-spec.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tor-spec.txt b/tor-spec.txt index 8f30624..0c0573c 100644 --- a/tor-spec.txt +++ b/tor-spec.txt @@ -1267,6 +1267,7 @@ see tor-design.pdf. a private/public keypair. m_expand = PROTOID | ":key_expand" KEYID(A) = A + EXP(a, b) = The ECDH algorithm for establishing a shared secret. To perform the handshake, the client needs to know an identity key digest for the server, and an ntor onion key (a curve25519 public -- cgit v1.2.3-54-g00ecf