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:
parent
3d60581a7a
commit
35f6376f20
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user