library programming reference (lib) rmd160

header

In order to begin using the RMD160 library in a C program, the header must be included as shown by this segment of code:
#include <rmd160.h>

data

Multiple RMD160 message digest instances are supported, so each instance must have its own handle. A special type is defined in the header to declare the handle variables. An example declaration is show below:
RMD160 handle;

functions

A calling program that uses RMD160 must first create a new instance using rmd160_new() which returns a reference handle of type RMD160. With that handle, the other functions may be called according to their defined interface. Finally, the instance referenced by the handle must be released using rmd160_destroy.

Documentation for the functions and macros is below:


The documentation, source code, and derived compilations are Copyright © 1999 by Philip Howard.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License [ GNU copy | local copy ] as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.