]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
hmac(key, message)
authorFrancis Dupont <fdupont@isc.org>
Mon, 24 Feb 2014 23:35:31 +0000 (00:35 +0100)
committerFrancis Dupont <fdupont@isc.org>
Mon, 24 Feb 2014 23:35:31 +0000 (00:35 +0100)
doc/misc/SIT

index d1968f629ab4d729cabeb8480e994f9f78ae42e7..7deee8aeac8331acaa35e4b35f0a2c617848e971 100644 (file)
@@ -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