Module Name: othersrc Committed By: wiz Date: Sun Sep 18 22:35:08 UTC 2011
Modified Files: othersrc/external/bsd/hmac/dist: hmac.1 Log Message: Sort SEE ALSO. New sentence, new line. Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/hmac/dist/hmac.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/external/bsd/hmac/dist/hmac.1 diff -u othersrc/external/bsd/hmac/dist/hmac.1:1.3 othersrc/external/bsd/hmac/dist/hmac.1:1.4 --- othersrc/external/bsd/hmac/dist/hmac.1:1.3 Sun Sep 18 18:26:31 2011 +++ othersrc/external/bsd/hmac/dist/hmac.1 Sun Sep 18 22:35:08 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: hmac.1,v 1.3 2011/09/18 18:26:31 agc Exp $ +.\" $NetBSD: hmac.1,v 1.4 2011/09/18 22:35:08 wiz Exp $ .\" .\" Copyright (c) 2011 Alistair Crooks <a...@netbsd.org> .\" All rights reserved. @@ -90,7 +90,8 @@ The default is 4 Megabytes. .El .Pp -An HMAC is calculated using a key. If the key is too long (i.e. larger +An HMAC is calculated using a key. +If the key is too long (i.e. larger than the block size for the digest algorithm), then the key will be run through the digest algorithm, and the output from that will be used as the key for the HMAC. @@ -106,11 +107,11 @@ .Bd -literal % hmac -k ' ' -a sha256 Makefile hmac-sha256 (Makefile) = 9612652f4e2371dc41e75f7d1b80e305a7be54b171b6a6002ba5caa072f3e825 -% hmac -a sha256 Makefile -hmac key: +% hmac -a sha256 Makefile +hmac key: hmac-sha256 (Makefile) = 9612652f4e2371dc41e75f7d1b80e305a7be54b171b6a6002ba5caa072f3e825 % hmac -a sha256 < Makefile -hmac key: +hmac key: 9612652f4e2371dc41e75f7d1b80e305a7be54b171b6a6002ba5caa072f3e825 % .Ed @@ -118,10 +119,10 @@ .Xr getpass 3 , .Xr libhmac 3 , .Xr sha1 3 , -.Xr sha256 3 , -.Xr sha512 3 , .Xr sha224 3 , -.Xr sha384 3 +.Xr sha256 3 , +.Xr sha384 3 , +.Xr sha512 3 .Sh HISTORY The .Nm