MCPcopy Create free account
hub / github.com/F-Stack/f-stack / MD5Final

Function MD5Final

freebsd/kern/md5c.c:219–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217 */
218
219void
220MD5Final(unsigned char digest[static MD5_DIGEST_LENGTH], MD5_CTX *context)
221{
222 /* Do padding. */
223 MD5Pad (context);
224
225 /* Store state in digest */
226 Encode (digest, context->state, MD5_DIGEST_LENGTH);
227
228 /* Zeroize sensitive information. */
229 memset (context, 0, sizeof (*context));
230}
231
232/* MD5 basic transformation. Transforms state based on block. */
233

Callers 8

ip_dstlist.cFile · 0.85
pf_setup_pfsync_matchingFunction · 0.85
pf_tcp_issFunction · 0.85
get_rand_ifidFunction · 0.85
generate_tmp_ifidFunction · 0.85
in6_nigroup0Function · 0.85
sppp_chap_inputFunction · 0.85
tcp_signature_computeFunction · 0.85

Calls 3

MD5PadFunction · 0.85
memsetFunction · 0.85
EncodeFunction · 0.70

Tested by

no test coverage detected