quick function reference | (lib) rmd160 |
Handle reference to the RMD160 digest instance, implemented as a pointer to struct rmd160_object.
rmd160uint32
Integer type expected to be the most optimal type to store a 32-bit unsigned integer. The type may actually be larger than 32 bits if the platform has no 32-bit type.
RMD160 rmd160_copy( RMD160 target, RMD160 source )
Copy the state of one RMD160 instance into another. If the target is NULL, allocate a new instance. If the source is NULL, initialize the target to the empty state.
Duplicate one RMD160 instance, create a new one. If the source is NULL, initialize the target to the empty state.
Initialize the given RMD160 instance to the empty state. If the target is NULL, allocate a new instance.
Allocate a new RMD160 instance, initialized to the empty state.
Destroy the given RMD160 instance. The reference handle becomes unusable.
int rmd160_append( RMD160, size_t, const unsigned char * )
Append a string of characters or bytes to the given RMD160 instance state.
int rmd160_append_fd( RMD160, int )
Append the contents of an open file, as referenced by a POSIX compliant file descriptor, to the given RMD160 instance state.
int rmd160_append_file( RMD160, FILE * )
Append the contents of an open file, as referenced by a standard C FILE pointer, to the given RMD160 instance state.
int _rmd160_calc( rmd160uint32 *, rmd160uint32 * )
Internal function which performs actual RIPEMD-160 checksum hashing calculations.
char *rmd160_sum_base16( RMD160, char * )
Extract the calculated checksum from the specified RMD160 instance, and store it into a given or allocated string of 40 characters in base 16, terminated with a 41st null character.
char *rmd160_sum_base32( RMD160, char * )
Extract the calculated checksum from the specified RMD160 instance, and store it into a given or allocated string of 32 characters in base 32, terminated with a 33rd null character.
unsigned char *rmd160_sum_bytes( RMD160, unsigned char * )
Extract the calculated checksum from the specified RMD160 instance, and store it into a given or allocated array of 20 bytes of type unsigned char.
rmd160uint32 *rmd160_sum_words( RMD160, rmd160uint32 * )
Extract the calculated checksum from the specified RMD160 instance, and store it into a given or allocated array of 5 words of type rmd160uint32.