MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / initialize

Function initialize

core/sha256.c:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#define ROR(x, y) ((x) >> (y) | (x) << (32 - (y)))
25
26static void initialize() {
27 static const uint32_t initial_state[8] = {
28 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a,
29 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19
30 };
31 memcpy(sha256.state, initial_state, 32);
32}
33
34static void process_block() {
35 static const uint32_t k[64] = {

Callers 1

sha256_writeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected