mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-08-24 18:01:48 +02:00
17 lines
376 B
C
17 lines
376 B
C
![]() |
#ifndef MD5_H
|
||
|
#define MD5_H
|
||
|
|
||
|
struct MD5Context {
|
||
|
u32 buf[4];
|
||
|
u32 bits[2];
|
||
|
unsigned char in[64];
|
||
|
};
|
||
|
|
||
|
void MD5Init(struct MD5Context *context);
|
||
|
void MD5Update(struct MD5Context *context, unsigned char const *buf,
|
||
|
unsigned len);
|
||
|
void MD5Final(unsigned char digest[16], struct MD5Context *context);
|
||
|
void MD5Transform(u32 buf[4], u32 const in[16]);
|
||
|
|
||
|
#endif /* !MD5_H */
|