00001 #ifndef BGLIBS__SHA384__H__ 00002 #define BGLIBS__SHA384__H__ 00003 00004 #include <sysdeps.h> 00005 #include <crypto/sha512.h> 00006 00007 #define SHA384_DIGEST_LENGTH (384/8) 00008 00009 typedef struct SHA512_ctx SHA384_ctx; 00010 00011 void SHA384_init (SHA384_ctx*); 00012 #define SHA384_update SHA512_update 00013 void SHA384_final (SHA384_ctx*, uint8*); 00014 00015 #endif