Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/hash Improve wording.



details:   https://anonhg.NetBSD.org/src/rev/91545eae796d
branches:  trunk
changeset: 346225:91545eae796d
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 01 22:56:06 2016 +0000

description:
Improve wording.

diffstat:

 lib/libc/hash/hmac.3 |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 99921220eb8d -r 91545eae796d lib/libc/hash/hmac.3
--- a/lib/libc/hash/hmac.3      Fri Jul 01 22:52:06 2016 +0000
+++ b/lib/libc/hash/hmac.3      Fri Jul 01 22:56:06 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: hmac.3,v 1.1 2016/07/01 22:41:39 christos Exp $
+.\" $NetBSD: hmac.3,v 1.2 2016/07/01 22:56:06 christos Exp $
 .\"
 .Dd July 1, 2016
 .Dt HMAC 3
@@ -29,13 +29,15 @@
 .Sh RETURN VALUES
 The
 .Fn hmac
-return 
+returns
 .Dv -1
 if the
 .Fa hname
-is not found
-and the length of the digest string which is dependend on the hashing
-function.
+is not found.
+Otherwise the actual length of the digest string is returned (which could
+be bigger or smaller than
+.Fa dlen ) .
+This length depends on the hashing function selected.
 .Sh SEE ALSO
 .Xr md2 3 ,
 .Xr md4 3 ,



Home | Main Index | Thread Index | Old Index