MCPcopy Create free account
hub / github.com/acl-dev/acl / md5_init

Function md5_init

lib_acl_cpp/samples/md5/md5_c.cpp:30–39  ·  view source on GitHub ↗

* Start MD5 accumulation. Set bit count to 0 and buffer to mysterious * initialization constants. */

Source from the content-addressed store, hash-verified

28 * initialization constants.
29 */
30void md5_init(md5_ctx *ctx)
31{
32 ctx->buf[0] = 0x67452301;
33 ctx->buf[1] = 0xefcdab89;
34 ctx->buf[2] = 0x98badcfe;
35 ctx->buf[3] = 0x10325476;
36
37 ctx->bytes[0] = 0;
38 ctx->bytes[1] = 0;
39}
40
41/*
42 * Update context to reflect the concatenation of another buffer full

Callers 2

md5_keyFunction · 0.85
md5_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…