X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmd5.h;h=8fc29223cf501f35e80544801c81ab75dbbba8ab;hb=HEAD;hp=f81237108d8f47d5ec7ca0c6f806e19eb8c4c2f4;hpb=648151a89b87f4ec906203fa0d1f3af9607e92c1;p=citadel.git diff --git a/citadel/md5.h b/citadel/md5.h deleted file mode 100644 index f81237108..000000000 --- a/citadel/md5.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef MD5_H -#define MD5_H - -#include "typesize.h" - -struct MD5Context { - cit_uint32_t buf[4]; - cit_uint32_t 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(cit_uint32_t buf[4], cit_uint32_t const in[16]); -char *make_apop_string(char *realpass, char *nonce, u_char *buffer); - -/* - * This is needed to make RSAREF happy on some MS-DOS compilers. - */ -typedef struct MD5Context MD5_CTX; - -#define MD5_DIGEST_LEN 16 -#define MD5_HEXSTRING_SIZE 33 - -#endif /* !MD5_H */