MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / sha1_init

Function sha1_init

Libraries/unrar/sha1.cpp:112–121  ·  view source on GitHub ↗

Initialize new context */

Source from the content-addressed store, hash-verified

110
111/* Initialize new context */
112void sha1_init(sha1_context* context)
113{
114 context->count = 0;
115 /* SHA1 initialization constants */
116 context->state[0] = 0x67452301;
117 context->state[1] = 0xEFCDAB89;
118 context->state[2] = 0x98BADCFE;
119 context->state[3] = 0x10325476;
120 context->state[4] = 0xC3D2E1F0;
121}
122
123
124/* Run your data through this. */

Callers 2

sha1_doneFunction · 0.85
SetKey30Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected