From cff5b8a47280d2cc373cd0fcf078f5c27607a27d Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 5 Jan 2016 23:56:37 +0300 Subject: [PATCH] [DOC] Actually we hash in different order Signed-off-by: Sergey Matveev --- src/govpn/aont/oaep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/govpn/aont/oaep.go b/src/govpn/aont/oaep.go index 4e13816..cea5833 100644 --- a/src/govpn/aont/oaep.go +++ b/src/govpn/aont/oaep.go @@ -30,7 +30,7 @@ along with this program. If not, see . // package PKG: // // PKG = P1 || P2 -// P1 = HKDF(BLAKE2b, r) XOR (M || BLAKE2b(M || r)) || +// P1 = HKDF(BLAKE2b, r) XOR (M || BLAKE2b(r || M)) || // P2 = BLAKE2b(P1) XOR r package aont -- 2.44.0