From 80624d94c5334288e6395eab14a47dec0defa8de Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 25 Jul 2021 19:04:02 -0700 Subject: [PATCH] ch-10: mention that the inner HMAC for the final hop is all zeros --- 10_onion_routing.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10_onion_routing.asciidoc b/10_onion_routing.asciidoc index 3ba6548..0321d63 100644 --- a/10_onion_routing.asciidoc +++ b/10_onion_routing.asciidoc @@ -383,7 +383,7 @@ For each hop the sender (Alice) repeats the same process: 1. Alice generates 1300 bytes of filler and fills the 1300-byte onion payload field with this filler. -1. Alice calculates the HMAC for the hop payload +1. Alice calculates the HMAC for the hop payload (zeros for the final hop). 1. Alice calculates the length of the hop payload + HMAC + space to store the length itself