MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / MD5Init

Function MD5Init

util/md5.c:71–80  ·  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

69 * initialization constants.
70 */
71void MD5Init(struct MD5Context *ctx)
72{
73 ctx->buf[0] = 0x67452301;
74 ctx->buf[1] = 0xefcdab89;
75 ctx->buf[2] = 0x98badcfe;
76 ctx->buf[3] = 0x10325476;
77
78 ctx->bits[0] = 0;
79 ctx->bits[1] = 0;
80}
81
82/*
83 * Update context to reflect the concatenation of another buffer full

Callers 1

MD5FileChunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected