MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / SHA1Init

Function SHA1Init

tools/websocket_to_posix_proxy/src/sha1.cpp:182–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180/* SHA1Init - Initialize new context */
181
182void SHA1Init(
183 SHA1_CTX * context
184)
185{
186 /* SHA1 initialization constants */
187 context->state[0] = 0x67452301;
188 context->state[1] = 0xEFCDAB89;
189 context->state[2] = 0x98BADCFE;
190 context->state[3] = 0x10325476;
191 context->state[4] = 0xC3D2E1F0;
192 context->count[0] = context->count[1] = 0;
193}
194
195
196/* Run your data through this. */

Callers 1

SHA1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected