summaryrefslogtreecommitdiffstats
path: root/lib/libmd/ripemd.3
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-03-24 16:02:05 +0000
committercharnier <charnier@FreeBSD.org>2003-03-24 16:02:05 +0000
commitf0ffe0ef9f006aa0c680f7def2d63f561eaade3f (patch)
tree1a092156e84df44700be1a9dde40cf947f43e35a /lib/libmd/ripemd.3
parent4a7a5ceb415b6b952d09c593efb016bf4e786972 (diff)
downloadFreeBSD-src-f0ffe0ef9f006aa0c680f7def2d63f561eaade3f.zip
FreeBSD-src-f0ffe0ef9f006aa0c680f7def2d63f561eaade3f.tar.gz
The .Fn function
Diffstat (limited to 'lib/libmd/ripemd.3')
-rw-r--r--lib/libmd/ripemd.312
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libmd/ripemd.3 b/lib/libmd/ripemd.3
index 1f3aea1..e86d6d1 100644
--- a/lib/libmd/ripemd.3
+++ b/lib/libmd/ripemd.3
@@ -62,21 +62,24 @@ run over the data with
and finally extract the result using
.Fn RIPEMD160_Final .
.Pp
+The
.Fn RIPEMD160_End
-is a wrapper for
+function is a wrapper for
.Fn RIPEMD160_Final
which converts the return value to a 41-character
(including the terminating '\e0')
.Tn ASCII
string which represents the 160 bits in hexadecimal.
.Pp
+The
.Fn RIPEMD160_File
-calculates the digest of a file, and uses
+function calculates the digest of a file, and uses
.Fn RIPEMD160_End
to return the result.
If the file cannot be opened, a null pointer is returned.
+The
.Fn RIPEMD160_FileChunk
-is similar to
+function is similar to
.Fn RIPEMD160_File ,
but it only calculates the digest over a byte-range of the file specified,
starting at
@@ -92,8 +95,9 @@ of the file,
calculates the digest from
.Fa offset
to the end of file.
+The
.Fn RIPEMD160_Data
-calculates the digest of a chunk of data in memory, and uses
+function calculates the digest of a chunk of data in memory, and uses
.Fn RIPEMD160_End
to return the result.
.Pp
OpenPOWER on IntegriCloud