MCPcopy Create free account
hub / github.com/ddnet/ddnet / store32

Function store32

src/base/hash_libtomcrypt.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48static void store32(u32 x, unsigned char *y)
49{
50 int i;
51 for(i = 0; i != 4; ++i)
52 y[i] = (x >> ((3 - i) * 8)) & 255;
53}
54
55static u32 Ch(u32 x, u32 y, u32 z) { return z ^ (x & (y ^ z)); }
56static u32 Maj(u32 x, u32 y, u32 z) { return ((x | y) & z) | (x & y); }

Callers 1

sha_doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected