From 1b0d803a751b54d60a608fb0fb07e26bcd01b803 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Tue, 25 Feb 2014 00:35:31 +0100 Subject: [PATCH] hmac(key, message) --- doc/misc/SIT | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/misc/SIT b/doc/misc/SIT index d1968f629a..7deee8aeac 100644 --- a/doc/misc/SIT +++ b/doc/misc/SIT @@ -69,11 +69,11 @@ AES HMAC SHA1 - hash = trunc(hmacsha1(client|nonce|when|address, secret), 8); + hash = trunc(hmacsha1(secret, client|nonce|when|address), 8); HMAC SHA256 - hash = trunc(hmacsha256(client|nonce|when|address, secret), 8); + hash = trunc(hmacsha256(secret, client|nonce|when|address), 8); [1] INTERNET-DRAFT Donald Eastlake