diff options
Diffstat (limited to 'lib/libmd/ripemd.3')
-rw-r--r-- | lib/libmd/ripemd.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libmd/ripemd.3 b/lib/libmd/ripemd.3 index ed71be5..b43bde7 100644 --- a/lib/libmd/ripemd.3 +++ b/lib/libmd/ripemd.3 @@ -80,17 +80,17 @@ is similar to .Fn RIPEMD160_File , but it only calculates the digest over a byte-range of the file specified, starting at -.Ar offset +.Fa offset and spanning -.Ar length +.Fa length bytes. If the -.Ar length +.Fa length parameter is specified as 0, or more than the length of the remaining part of the file, .Fn RIPEMD160_FileChunk calculates the digest from -.Ar offset +.Fa offset to the end of file. .Fn RIPEMD160_Data calculates the digest of a chunk of data in memory, and uses @@ -103,7 +103,7 @@ When using or .Fn RIPEMD160_Data , the -.Ar buf +.Fa buf argument can be a null pointer, in which case the returned string is allocated with .Xr malloc 3 @@ -111,7 +111,7 @@ and subsequently must be explicitly deallocated using .Xr free 3 after use. If the -.Ar buf +.Fa buf argument is non-null it must point to at least 41 characters of buffer space. .Sh SEE ALSO .Xr md2 3 , |