From 9ccfb6b9d2d7b8daccf894e4d2b761c94dcadbe4 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 30 Apr 2018 07:32:34 -0400 Subject: [PATCH] fix docs --- doc/iwp_v0.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/iwp_v0.txt b/doc/iwp_v0.txt index f6673b15b..13ef96099 100644 --- a/doc/iwp_v0.txt +++ b/doc/iwp_v0.txt @@ -43,7 +43,7 @@ handshake: 32 bytes hmac, h 32 bytes nounce, n -32 bytes random padding, r (for future handshake use) +32 bytes random, r 32 bytes encrypted alice's transport public encryption key e variadic bytes padding, w0 @@ -53,7 +53,7 @@ his public transport encryption key (b.k). w0 = "[insert variable length random padding here]" r = RAND(32) n = RAND(32) -e = SE(a.k + w0, HS(b.k + n)) +e = SE(a.k + w0, HS(b.k + r), n[0:24]) s = TKE(a.k, b.k, n) h = MDS(r + e, s)