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

Function ShL

src/crypto/sha256_sse41.cpp:29–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27__m128i inline And(__m128i x, __m128i y) { return _mm_and_si128(x, y); }
28__m128i inline ShR(__m128i x, int n) { return _mm_srli_epi32(x, n); }
29__m128i inline ShL(__m128i x, int n) { return _mm_slli_epi32(x, n); }
30
31__m128i inline Ch(__m128i x, __m128i y, __m128i z) { return Xor(z, And(x, Xor(y, z))); }
32__m128i inline Maj(__m128i x, __m128i y, __m128i z) { return Or(And(x, y), And(z, Or(x, y))); }

Callers 4

Sigma0Function · 0.70
Sigma1Function · 0.70
sigma0Function · 0.70
sigma1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected