MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / MD5_memset

Function MD5_memset

md5.c:330–340  ·  view source on GitHub ↗

Note: Replace "for loop" with standard memset if possible. */

Source from the content-addressed store, hash-verified

328/* Note: Replace "for loop" with standard memset if possible.
329 */
330static void MD5_memset (POINTER output, int value, unsigned int len)
331{
332
333#ifndef USE_MEM
334 unsigned int i;
335 for (i = 0; i < len; i++)
336 ((char *)output)[i] = (char)value;
337#else
338 memset( output, value, len );
339#endif
340}

Callers 2

MD5FinalFunction · 0.85
MD5TransformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected