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

Function sigma1

src/simplicity/sha256.c:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19static inline uint32_t Sigma1(uint32_t x) { return (x >> 6 | 1U * x << 26) ^ (x >> 11 | 1U * x << 21) ^ (x >> 25 | 1U * x << 7); }
20static inline uint32_t sigma0(uint32_t x) { return (x >> 7 | 1U * x << 25) ^ (x >> 18 | 1U * x << 14) ^ (x >> 3); }
21static inline uint32_t sigma1(uint32_t x) { return (x >> 17 | 1U * x << 15) ^ (x >> 19 | 1U * x << 13) ^ (x >> 10); }
22
23/* One round of SHA-256.
24 *

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected