/usr/include/licq/md5.h is in licq-dev 1.6.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | /*
* md5.h: Header file for Colin Plumb's MD5 implementation.
* Modified by Ian Jackson so as not to use Colin Plumb's
* 'usuals.h'.
*
* This file is in the public domain.
*/
#ifndef LICQ_MD5_H
#define LICQ_MD5_H
#include <stddef.h>
#include <stdint.h>
#define MD5_DIGEST_LENGTH 16
namespace Licq
{
void md5(const uint8_t* buf, size_t len, uint8_t* digest);
struct Md5Context
{
uint32_t buf[4];
uint64_t bytes;
uint32_t in[16];
};
void md5Init(struct Md5Context* context);
void md5Update(struct Md5Context* context, uint8_t const* buf, size_t len);
void md5Final(struct Md5Context* context, unsigned char digest[16]);
void md5Transform(uint32_t buf[4], const uint32_t in[16]);
} // namespace Licq
#endif
|