1
0
mirror of https://github.com/lightning/bolts.git synced 2025-01-19 05:33:37 +01:00

BOLT08: define e and s within the context of the noise handshake

When the notation of the noise protocol framework is being introduced the terms `ck` and `k` are being explained but `e` and `s` are only referred to was public keys. I fixed that by stating what they stand for and noting that `s` is usually the the `nodeid` in the context of the Lightning Network protocol.
This commit is contained in:
Rene Pickhardt 2019-05-01 05:00:26 +02:00 committed by Olaoluwa Osuntokun
parent d42b4e2ab6
commit 7cb708da20

View File

@ -66,7 +66,8 @@ an AEAD payload with a zero-length cipher text is sent. As this payload has no
length, only a MAC is sent across. The mixing of ECDH outputs into
a hash digest forms an incremental TripleDH handshake.
Using the language of the Noise Protocol, `e` and `s` (both public keys)
Using the language of the Noise Protocol, `e` and `s` (both public keys with `e` being
the ephemeral key and `s` being the static key which in our case is usually the `nodeid`)
indicate possibly encrypted keying material, and `es`, `ee`, and `se` each indicate an
ECDH operation between two keys. The handshake is laid out as follows:
```