1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

pubkeys live on the curve, not in the finite field

This commit is contained in:
Tim Ruffing 2019-10-28 15:31:21 +01:00 committed by Rusty Russell
parent 3d60581a7a
commit 35f6376f20

View File

@ -153,8 +153,7 @@ Throughout the handshake process, each side maintains these variables:
The following functions will also be referenced:
* `ECDH(k, rk)`: performs an Elliptic-Curve Diffie-Hellman operation using
`k`, which is a valid private key, and `rk`, which is a `secp256k1` public key
within the finite field, as defined by the curve parameters
`k`, which is a valid `secp256k1` private key, and `rk`, which is a valid public key
* The returned value is the SHA256 of the DER-compressed format of the
generated point.