summaryrefslogtreecommitdiff
path: root/md5/md5.c
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2016-03-18 13:26:41 +0900
committerMinje ahn <minje.ahn@samsung.com>2016-03-21 00:50:54 -0700
commit5ab78ec86380f306e30b6ac419a0e7bcb21dadbe (patch)
tree53d0adcb59a169c1680523b30416ef84a58c9e46 /md5/md5.c
parent23016f05716dd46ef3b7bb564d122c6a2f84d9ac (diff)
downloadlibmedia-thumbnail-5ab78ec86380f306e30b6ac419a0e7bcb21dadbe.tar.gz
libmedia-thumbnail-5ab78ec86380f306e30b6ac419a0e7bcb21dadbe.tar.bz2
libmedia-thumbnail-5ab78ec86380f306e30b6ac419a0e7bcb21dadbe.zip
Change md5 api name(for as-needed option)
Change-Id: I060ff9a05d65656d1312edf6d92c636a5029296c Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'md5/md5.c')
-rwxr-xr-xmd5/md5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/md5/md5.c b/md5/md5.c
index 9604a80..c223cfe 100755
--- a/md5/md5.c
+++ b/md5/md5.c
@@ -46,7 +46,7 @@ void byteReverse(unsigned char *buf, unsigned longs)
* Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
* initialization constants.
*/
-void MD5Init(MD5_CTX *ctx)
+void media_thumb_MD5Init(MD5_CTX *ctx)
{
ctx->buf[0] = 0x67452301;
ctx->buf[1] = 0xefcdab89;
@@ -61,7 +61,7 @@ void MD5Init(MD5_CTX *ctx)
* 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_thumb_MD5Update(MD5_CTX *ctx, unsigned char const *buf, unsigned len)
{
uint32_t t;
@@ -111,7 +111,7 @@ void MD5Update(MD5_CTX *ctx, unsigned char const *buf, unsigned len)
* 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_thumb_MD5Final(unsigned char digest[16], MD5_CTX *ctx)
{
unsigned count;
unsigned char *p;