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

BOLT 8: clarify the hkdf args. (#57)

They're salt and ikm respectively (using language from RFC5869).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-12-14 05:16:54 +10:30 committed by Olaoluwa Osuntokun
parent 93f948cbd9
commit 9f979bae5b

View File

@ -130,7 +130,7 @@ The following functions will also be referenced:
* The returned value is the SHA256 of the DER compressed format of the
generated point.
* `HKDF`: a function is defined in [5](#reference-5), evaluated with a
* `HKDF(salt,ikm)`: a function is defined in [5](#reference-5), evaluated with a
zero-length `info` field.
* All invocations of the `HKDF` implicitly return `64-bytes` of
cryptographic randomness using the extract-and-expand component of the