whirlpool.h File Reference

#include <stdint.h>

Include dependency graph for whirlpool.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  whirlpool_t
 dynamic whirlpool state data More...

Defines

#define DIGESTBYTES   64
 number of bytes in the digest
#define DIGESTBITS   (8*DIGESTBYTES)
 number of bits in the digest
#define WBLOCKBYTES   64
 number of bytes in the input buffer
#define WBLOCKBITS   (8*WBLOCKBYTES)
 number of bits in the input buffer
#define LENGTHBYTES   32
 number of hashed bytes
#define LENGTHBITS   (8*LENGTHBYTES)
 number of hashed bits

Functions

void whirlpool_transform (whirlpool_t *const context)
 internal transform routine
void whirlpool_init (whirlpool_t *const context)
 initialize whirlpool state context
void whirlpool_finalize (whirlpool_t *const context, unsigned char *const result)
 finalize whirlpool transformation
void whirlpool_add (whirlpool_t *const context, const unsigned char *const src, unsigned long bits)
 add bytes to the transform routine
char * whirlpool_digest (const char *str)
 create digest from string


Generated on Tue Jun 19 20:38:44 2007 for lucid by  doxygen 1.5.2