From: Sergey Matveev Date: Tue, 5 Jan 2016 20:56:37 +0000 (+0300) Subject: [DOC] Actually we hash in different order X-Git-Tag: 5.0^2~14 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=cff5b8a47280d2cc373cd0fcf078f5c27607a27d [DOC] Actually we hash in different order Signed-off-by: Sergey Matveev --- 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