MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / ShR

Function ShR

src/crypto/sha256_avx2.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23__m256i inline Or(__m256i x, __m256i y) { return _mm256_or_si256(x, y); }
24__m256i inline And(__m256i x, __m256i y) { return _mm256_and_si256(x, y); }
25__m256i inline ShR(__m256i x, int n) { return _mm256_srli_epi32(x, n); }
26__m256i inline ShL(__m256i x, int n) { return _mm256_slli_epi32(x, n); }
27
28__m256i inline Ch(__m256i x, __m256i y, __m256i 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