diff --git a/lib/libmd/mdX.3 b/lib/libmd/mdX.3 index 412aebab1c1d..0a290c7360f9 100644 --- a/lib/libmd/mdX.3 +++ b/lib/libmd/mdX.3 @@ -96,17 +96,17 @@ is similar to .Fn MDXFile , 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 MDXFileChunk calculates the digest from -.Ar offset +.Fa offset to the end of file. .Fn MDXData calculates the digest of a chunk of data in memory, and uses @@ -119,7 +119,7 @@ When using or .Fn MDXData , the -.Ar buf +.Fa buf argument can be a null pointer, in which case the returned string is allocated with .Xr malloc 3 @@ -127,7 +127,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 33 characters of buffer space. .Sh SEE ALSO .Xr md2 3 , diff --git a/lib/libmd/ripemd.3 b/lib/libmd/ripemd.3 index ed71be5a8a52..b43bde7c58e5 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 , diff --git a/lib/libmd/sha.3 b/lib/libmd/sha.3 index 90b727703be6..6e546e6b8e18 100644 --- a/lib/libmd/sha.3 +++ b/lib/libmd/sha.3 @@ -112,17 +112,17 @@ is similar to .Fn SHA1_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 SHA1_FileChunk calculates the digest from -.Ar offset +.Fa offset to the end of file. .Fn SHA1_Data calculates the digest of a chunk of data in memory, and uses @@ -135,7 +135,7 @@ When using or .Fn SHA1_Data , the -.Ar buf +.Fa buf argument can be a null pointer, in which case the returned string is allocated with .Xr malloc 3 @@ -143,7 +143,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 ,