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

Function SHA1Init

app/redis-6.2.6/src/sha1.c:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115/* SHA1Init - Initialize new context */
116
117void SHA1Init(SHA1_CTX* context)
118{
119 /* SHA1 initialization constants */
120 context->state[0] = 0x67452301;
121 context->state[1] = 0xEFCDAB89;
122 context->state[2] = 0x98BADCFE;
123 context->state[3] = 0x10325476;
124 context->state[4] = 0xC3D2E1F0;
125 context->count[0] = context->count[1] = 0;
126}
127
128
129/* Run your data through this. */

Callers 5

sha1hexFunction · 0.70
xorDigestFunction · 0.70
mixDigestFunction · 0.70
sha1TestFunction · 0.70
sha1HashFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected