sha512.h

00001 #ifndef BGLIBS__SHA512__H__
00002 #define BGLIBS__SHA512__H__
00003 
00004 #include <sysdeps.h>
00005 
00006 #define SHA512_DIGEST_LENGTH (512/8)
00007 
00008 struct SHA512_ctx {
00009   uint64 H[8];
00010   uint64 bytes;
00011   uint8 M[256];
00012 };
00013 typedef struct SHA512_ctx SHA512_ctx;
00014 
00015 void SHA512_init  (SHA512_ctx*);
00016 void SHA512_update(SHA512_ctx*, const void*, unsigned long);
00017 void SHA512_final (SHA512_ctx*, uint8*);
00018 
00019 #endif

Generated on Thu Feb 19 11:11:50 2009 for bglibs by  doxygen 1.5.4