use system memcpy and memset
This commit is contained in:
1 parent
5201000f39
commit
b2f39d7ddd
5 files changed
+16
-5
No files matched your search
@@ -38,8 +38,13 @@ void MD4Init (MD4_CTX *);
|
||||
void MD4Update (MD4_CTX *, const unsigned char *, unsigned int);
|
||||
void MD4Final (unsigned char [16], MD4_CTX *);
|
||||
|
||||
#if I_WANT_A_CUSTOM_MEMCPY
|
||||
void Com_Memset (void* dest, const int val, const size_t count);
|
||||
void Com_Memcpy (void* dest, const void* src, const size_t count);
|
||||
#else
|
||||
#define Com_Memset memset
|
||||
#define Com_Memcpy memcpy
|
||||
#endif
|
||||
|
||||
/* MD4C.C - RSA Data Security, Inc., MD4 message-digest algorithm */
|
||||
/* Copyright (C) 1990-2, RSA Data Security, Inc. All rights reserved.
|
||||
|
||||
Reference in new issue
Block a user