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

Function sigma1

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

Source from the content-addressed store, hash-verified

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. */
76void inline Round(uint32_t a, uint32_t b, uint32_t c, uint32_t& d, uint32_t e, uint32_t f, uint32_t g, uint32_t& h, uint32_t k)

Callers 2

TransformFunction · 0.70
TransformD64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected