ripemd.3 (b2c76c41be32f904179efed29c0ca04d53f3996c) | ripemd.3 (fd3ced15070885c818b74a44a0fbe45ed8687f44) |
---|---|
1.\" 2.\" ---------------------------------------------------------------------------- 3.\" "THE BEER-WARE LICENSE" (Revision 42): 4.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5.\" can do whatever you want with this stuff. If we meet some day, and you think 6.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7.\" ---------------------------------------------------------------------------- 8.\" 9.\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp 10.\" | 1.\" 2.\" ---------------------------------------------------------------------------- 3.\" "THE BEER-WARE LICENSE" (Revision 42): 4.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you 5.\" can do whatever you want with this stuff. If we meet some day, and you think 6.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7.\" ---------------------------------------------------------------------------- 8.\" 9.\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp 10.\" |
11.Dd July 20, 2018 | 11.Dd March 8, 2022 |
12.Dt RIPEMD 3 13.Os 14.Sh NAME 15.Nm RIPEMD160_Init , 16.Nm RIPEMD160_Update , 17.Nm RIPEMD160_Final , 18.Nm RIPEMD160_End , | 12.Dt RIPEMD 3 13.Os 14.Sh NAME 15.Nm RIPEMD160_Init , 16.Nm RIPEMD160_Update , 17.Nm RIPEMD160_Final , 18.Nm RIPEMD160_End , |
19.Nm RIPEMD160_Fd , 20.Nm RIPEMD160_FdChunk , |
|
19.Nm RIPEMD160_File , 20.Nm RIPEMD160_FileChunk , 21.Nm RIPEMD160_Data 22.Nd calculate the RIPEMD160 message digest 23.Sh LIBRARY 24.Lb libmd 25.Sh SYNOPSIS 26.In sys/types.h 27.In ripemd.h 28.Ft void 29.Fn RIPEMD160_Init "RIPEMD160_CTX *context" 30.Ft void 31.Fn RIPEMD160_Update "RIPEMD160_CTX *context" "const unsigned char *data" "unsigned int len" 32.Ft void 33.Fn RIPEMD160_Final "unsigned char digest[20]" "RIPEMD160_CTX *context" 34.Ft "char *" 35.Fn RIPEMD160_End "RIPEMD160_CTX *context" "char *buf" 36.Ft "char *" | 21.Nm RIPEMD160_File , 22.Nm RIPEMD160_FileChunk , 23.Nm RIPEMD160_Data 24.Nd calculate the RIPEMD160 message digest 25.Sh LIBRARY 26.Lb libmd 27.Sh SYNOPSIS 28.In sys/types.h 29.In ripemd.h 30.Ft void 31.Fn RIPEMD160_Init "RIPEMD160_CTX *context" 32.Ft void 33.Fn RIPEMD160_Update "RIPEMD160_CTX *context" "const unsigned char *data" "unsigned int len" 34.Ft void 35.Fn RIPEMD160_Final "unsigned char digest[20]" "RIPEMD160_CTX *context" 36.Ft "char *" 37.Fn RIPEMD160_End "RIPEMD160_CTX *context" "char *buf" 38.Ft "char *" |
39.Fn RIPEMD160_Fd "int fd" "char *buf" 40.Ft "char *" 41.Fn RIPEMD160_FdChunk "int fd" "char *buf" "off_t offset" "off_t length" 42.Ft "char *" |
|
37.Fn RIPEMD160_File "const char *filename" "char *buf" 38.Ft "char *" 39.Fn RIPEMD160_FileChunk "const char *filename" "char *buf" "off_t offset" "off_t length" 40.Ft "char *" 41.Fn RIPEMD160_Data "const unsigned char *data" "unsigned int len" "char *buf" 42.Sh DESCRIPTION 43The 44.Li RIPEMD160_ --- 56 unchanged lines hidden (view full) --- 101.Fa offset 102to the end of file. 103The 104.Fn RIPEMD160_Data 105function calculates the digest of a chunk of data in memory, and uses 106.Fn RIPEMD160_End 107to return the result. 108.Pp | 43.Fn RIPEMD160_File "const char *filename" "char *buf" 44.Ft "char *" 45.Fn RIPEMD160_FileChunk "const char *filename" "char *buf" "off_t offset" "off_t length" 46.Ft "char *" 47.Fn RIPEMD160_Data "const unsigned char *data" "unsigned int len" "char *buf" 48.Sh DESCRIPTION 49The 50.Li RIPEMD160_ --- 56 unchanged lines hidden (view full) --- 107.Fa offset 108to the end of file. 109The 110.Fn RIPEMD160_Data 111function calculates the digest of a chunk of data in memory, and uses 112.Fn RIPEMD160_End 113to return the result. 114.Pp |
115The 116.Fn RIPEMD160_Fd 117and 118.Fn RIPEMD160_FdChunk 119functions are identical to their 120.Fn RIPEMD160_File 121and 122.Fn RIPEMD160_FileChunk 123counterparts, with the exception that the first argument is an 124.Fa fd 125instead of a 126.Fa filename . 127.Pp |
|
109When using 110.Fn RIPEMD160_End , 111.Fn RIPEMD160_File , 112or 113.Fn RIPEMD160_Data , 114the 115.Fa buf 116argument can be a null pointer, in which case the returned string --- 45 unchanged lines hidden --- | 128When using 129.Fn RIPEMD160_End , 130.Fn RIPEMD160_File , 131or 132.Fn RIPEMD160_Data , 133the 134.Fa buf 135argument can be a null pointer, in which case the returned string --- 45 unchanged lines hidden --- |