sha256.h

00001 #ifndef BGLIBS__SHA256__H__
00002 #define BGLIBS__SHA256__H__
00003 
00004 #include <sysdeps.h>
00005 
00006 #define SHA256_DIGEST_LENGTH (256/8)
00007 
00008 typedef struct {
00009   uint32 H[8];
00010   uint64 bytes;
00011   uint8 M[64];
00012 } SHA256_ctx;
00013 
00014 void SHA256_init(SHA256_ctx*);
00015 void SHA256_update(SHA256_ctx*, const void*, unsigned long);
00016 void SHA256_final(SHA256_ctx*, uint8*);
00017 
00018 #endif

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