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

Function ShR

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

Source from the content-addressed store, hash-verified

26__m128i inline Or(__m128i x, __m128i y) { return _mm_or_si128(x, y); }
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))); }

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected