* Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
* initialization constants.
*/
-void MD5Init(MD5_CTX *ctx)
+void media_svc_MD5Init(MD5_CTX *ctx)
{
ctx->buf[0] = 0x67452301;
ctx->buf[1] = 0xefcdab89;
* Update context to reflect the concatenation of another buffer full
* of bytes.
*/
-void MD5Update(MD5_CTX *ctx, unsigned char const *buf, unsigned len)
+void media_svc_MD5Update(MD5_CTX *ctx, unsigned char const *buf, unsigned len)
{
uint32_t t;
* Final wrapup - pad to 64-byte boundary with the bit pattern
* 1 0* (64-bit count of bits processed, MSB-first)
*/
-void MD5Final(unsigned char digest[16], MD5_CTX *ctx)
+void media_svc_MD5Final(unsigned char digest[16], MD5_CTX *ctx)
{
unsigned count;
unsigned char *p;
unsigned char in[64];
} MD5_CTX;
-extern void MD5Init(MD5_CTX *context);
-extern void MD5Update(MD5_CTX *context, unsigned char const *buf, unsigned len);
-extern void MD5Final(unsigned char digest[MD5_HASHBYTES], MD5_CTX *context);
+extern void media_svc_MD5Init(MD5_CTX *context);
+extern void media_svc_MD5Update(MD5_CTX *context, unsigned char const *buf, unsigned len);
+extern void media_svc_MD5Final(unsigned char digest[MD5_HASHBYTES], MD5_CTX *context);
extern void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
*t = '\0';
#undef _check_uri_char
- MD5Init(&ctx);
- MD5Update(&ctx, (unsigned char const *)uri, (unsigned)strlen(uri));
- MD5Final(hash, &ctx);
+ media_svc_MD5Init(&ctx);
+ media_svc_MD5Update(&ctx, (unsigned char const *)uri, (unsigned)strlen(uri));
+ media_svc_MD5Final(hash, &ctx);
for (n = 0; n < MD5_HASHBYTES; n++) {
md5out[2 * n] = hex[hash[n] >> 4];
Name: libmedia-service
Summary: Media information service library for multimedia applications
-Version: 0.2.63
+Version: 0.2.64
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0 and public domain