MCPcopy Create free account
hub / github.com/ElementsProject/elements / sigma0

Function sigma0

src/crypto/sha256.cpp:72–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70uint32_t inline Sigma0(uint32_t x) { return (x >> 2 | x << 30) ^ (x >> 13 | x << 19) ^ (x >> 22 | x << 10); }
71uint32_t inline Sigma1(uint32_t x) { return (x >> 6 | x << 26) ^ (x >> 11 | x << 21) ^ (x >> 25 | x << 7); }
72uint32_t inline sigma0(uint32_t x) { return (x >> 7 | x << 25) ^ (x >> 18 | x << 14) ^ (x >> 3); }
73uint32_t inline sigma1(uint32_t x) { return (x >> 17 | x << 15) ^ (x >> 19 | x << 13) ^ (x >> 10); }
74
75/** One round of SHA-256. */

Callers 2

TransformFunction · 0.70
TransformD64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected