cpp: Use #pragma once instead of #ifndef guards
[ghc.git] / libraries / base / include / md5.h
1 /* MD5 message digest */
2 #pragma once
3
4 #include "HsFFI.h"
5
6 typedef HsWord32 word32;
7 typedef HsWord8 byte;
8
9 struct MD5Context {
10 word32 buf[4];
11 word32 bytes[2];
12 word32 in[16];
13 };
14
15 void __hsbase_MD5Init(struct MD5Context *context);
16 void __hsbase_MD5Update(struct MD5Context *context, byte const *buf, int len);
17 void __hsbase_MD5Final(byte digest[16], struct MD5Context *context);
18 void __hsbase_MD5Transform(word32 buf[4], word32 const in[16]);