common/blindedpath: create onion mesage test vectors.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-10-17 12:47:54 +10:30
parent 159fc7d1a2
commit 422e68a4d6
2 changed files with 394 additions and 1 deletions

View File

@@ -79,7 +79,6 @@ static u8 *enctlv_from_encmsg_raw(const tal_t *ctx,
return NULL;
ret = tal_dup_talarr(ctx, u8, raw_encmsg);
SUPERVERBOSE("\t\"encmsg_hex\": \"%s\",\n", tal_hex(tmpctx, ret));
/* BOLT-route-blinding #4:
* - `rho(i) = HMAC256("rho", ss(i))`