| Last change
 on this file since 3539 was             1000, checked in by bird, 18 years ago | 
        
          | 
Added md5 and crc32. (pd and netbsd respectivly)
 | 
        
          | 
              
Property                 svn:eol-style
 set to                 native | 
        
          | File size:
            397 bytes | 
      
      
| Line |  | 
|---|
| 1 | #ifndef MD5_H | 
|---|
| 2 | #define MD5_H | 
|---|
| 3 |  | 
|---|
| 4 | #include "mytypes.h" | 
|---|
| 5 |  | 
|---|
| 6 | struct MD5Context { | 
|---|
| 7 | uint32_t buf[4]; | 
|---|
| 8 | uint32_t bits[2]; | 
|---|
| 9 | unsigned char in[64]; | 
|---|
| 10 | }; | 
|---|
| 11 |  | 
|---|
| 12 | void MD5Init(struct MD5Context *); | 
|---|
| 13 | void MD5Update(struct MD5Context *, const unsigned char *, unsigned); | 
|---|
| 14 | void MD5Final(unsigned char digest[16], struct MD5Context *); | 
|---|
| 15 | void MD5Transform(uint32_t buf[4], uint32_t in[16]); | 
|---|
| 16 |  | 
|---|
| 17 | #endif /* !MD5_H */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.