diff --git a/src/util/inc/tmd5.h b/src/util/inc/tmd5.h index f0666b257963d91f60268d84482c74fff22f90b9..d73b6df55626bc9d63d3a4325326d36fbe9ab2ad 100644 --- a/src/util/inc/tmd5.h +++ b/src/util/inc/tmd5.h @@ -38,10 +38,4 @@ void tMD5Init(T_MD5_CTX *mdContext); void tMD5Update(T_MD5_CTX *mdContext, uint8_t *inBuf, unsigned int inLen); void tMD5Final(T_MD5_CTX *mdContext); -typedef T_MD5_CTX MD5_CTX; - -void MD5Init(MD5_CTX *mdContext); -void MD5Update(MD5_CTX *mdContext, uint8_t *inBuf, unsigned int inLen); -void MD5Final(MD5_CTX *mdContext); - #endif diff --git a/src/util/src/tmd5.c b/src/util/src/tmd5.c index 074eee5c15839b3c021432edcb4c760f6f591867..4549c95aae855fbcf98a06003940fa86ab4fb461 100644 --- a/src/util/src/tmd5.c +++ b/src/util/src/tmd5.c @@ -94,10 +94,6 @@ void tMD5Init(T_MD5_CTX *mdContext) { mdContext->buf[2] = (uint32_t)0x98badcfe; mdContext->buf[3] = (uint32_t)0x10325476; } -void MD5Init(MD5_CTX *mdContext) { - tMD5Init(mdContext); -} - /* The routine tMD5Update updates the message-digest context to account for the presence of each of the characters inBuf[0..inLen-1] @@ -130,9 +126,6 @@ void tMD5Update(T_MD5_CTX *mdContext, uint8_t *inBuf, unsigned int inLen) { } } } -void MD5Update(MD5_CTX *mdContext, uint8_t *inBuf, unsigned int inLen) { - tMD5Update(mdContext, inBuf, inLen); -} /* The routine tMD5Final terminates the message-digest computation and ends with the desired message digest in mdContext->digest[0...15]. @@ -168,9 +161,6 @@ void tMD5Final(T_MD5_CTX *mdContext) { mdContext->digest[ii + 3] = (uint8_t)((mdContext->buf[i] >> 24) & 0xFF); } } -void MD5Final(T_MD5_CTX *mdContext) { - tMD5Final(mdContext); -} /* Basic MD5 step. Transforms buf based on in. */