RMD160Init.3 (2feffb3a) RMD160Init.3 (41ce3b17)
1.\" $OpenBSD: RMD160Init.3,v 1.2 2019/12/05 21:45:05 jmc Exp $
1.\" $OpenBSD: RMD160Init.3,v 1.3 2022/03/31 17:27:15 naddy Exp $
2.\"
3.\" Copyright (c) 1997, 2004 Todd C. Miller <millert@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
18.\" for detailed information about RIPEMD-160.
19.\"
2.\"
3.\" Copyright (c) 1997, 2004 Todd C. Miller <millert@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
18.\" for detailed information about RIPEMD-160.
19.\"
20.Dd $Mdocdate: December 5 2019 $
20.Dd $Mdocdate: March 31 2022 $
21.Dt RMD160INIT 3
22.Os
23.Sh NAME
24.Nm RMD160Init ,
25.Nm RMD160Update ,
26.Nm RMD160Pad ,
27.Nm RMD160Final ,
28.Nm RMD160Transform ,

--- 91 unchanged lines hidden (view full) ---

120representation of the 160 bit digest in hexadecimal.
121.Pp
122The
123.Fn RMD160File
124function calculates the digest for a file and returns the result via
125.Fn RMD160End .
126If
127.Fn RMD160File
21.Dt RMD160INIT 3
22.Os
23.Sh NAME
24.Nm RMD160Init ,
25.Nm RMD160Update ,
26.Nm RMD160Pad ,
27.Nm RMD160Final ,
28.Nm RMD160Transform ,

--- 91 unchanged lines hidden (view full) ---

120representation of the 160 bit digest in hexadecimal.
121.Pp
122The
123.Fn RMD160File
124function calculates the digest for a file and returns the result via
125.Fn RMD160End .
126If
127.Fn RMD160File
128is unable to open the file a NULL pointer is returned.
128is unable to open the file, a NULL pointer is returned.
129.Pp
130.Fn RMD160FileChunk
131behaves like
132.Fn RMD160File
133but calculates the digest only for that portion of the file starting at
134.Fa offset
135and continuing for
136.Fa length

--- 100 unchanged lines hidden ---
129.Pp
130.Fn RMD160FileChunk
131behaves like
132.Fn RMD160File
133but calculates the digest only for that portion of the file starting at
134.Fa offset
135and continuing for
136.Fa length

--- 100 unchanged lines hidden ---