added _SLS to MD5 functions, added a separate lib for the md5 C code

This commit is contained in:
Erik Frojdh
2021-09-16 14:10:02 +02:00
parent 2ff50750f5
commit 7fd174c21e
8 changed files with 61 additions and 43 deletions

View File

@ -276,7 +276,7 @@ namespace sls {
#define INIT_DATA_C (unsigned long)0x98badcfeL
#define INIT_DATA_D (unsigned long)0x10325476L
int MD5_Init(MD5_CTX *c)
int MD5_Init_SLS(MD5_CTX *c)
{
memset(c, 0, sizeof(*c));
c->A = INIT_DATA_A;