MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / sha_init

Function sha_init

src/common/sha.cpp:246–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244// initialize the SHA digest
245
246void sha_init(SHA_INFO *sha_info)
247{
248 sha_info->digest[0] = 0x67452301L;
249 sha_info->digest[1] = 0xefcdab89L;
250 sha_info->digest[2] = 0x98badcfeL;
251 sha_info->digest[3] = 0x10325476L;
252 sha_info->digest[4] = 0xc3d2e1f0L;
253 sha_info->count_lo = 0L;
254 sha_info->count_hi = 0L;
255 sha_info->local = 0;
256}
257
258// update the SHA digest
259

Callers 5

hashBased64Method · 0.85
resetMethod · 0.85
sha2_baseMethod · 0.85
resetMethod · 0.85
getHashMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected