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

Function sigma0

src/crypto/sha512.cpp:21–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19uint64_t inline Sigma0(uint64_t x) { return (x >> 28 | x << 36) ^ (x >> 34 | x << 30) ^ (x >> 39 | x << 25); }
20uint64_t inline Sigma1(uint64_t x) { return (x >> 14 | x << 50) ^ (x >> 18 | x << 46) ^ (x >> 41 | x << 23); }
21uint64_t inline sigma0(uint64_t x) { return (x >> 1 | x << 63) ^ (x >> 8 | x << 56) ^ (x >> 7); }
22uint64_t inline sigma1(uint64_t x) { return (x >> 19 | x << 45) ^ (x >> 61 | x << 3) ^ (x >> 6); }
23
24/** One round of SHA-512. */

Callers 1

TransformFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected