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

Function Sigma1

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

Source from the content-addressed store, hash-verified

18uint64_t inline Maj(uint64_t x, uint64_t y, uint64_t z) { return (x & y) | (z & (x | y)); }
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

Callers 1

RoundFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected