fixes
This commit is contained in:
parent
c962668261
commit
4458b8b368
@ -83,7 +83,7 @@ void getRawAddress(int lErase, Key& InvertedPublicKey, Address& rawAddr) {
|
||||
rawAddr[1] = static_cast<unsigned char>(lErase - 1);
|
||||
memcpy(&rawAddr[2], &InvertedPublicKey[start], 14);
|
||||
}
|
||||
[[gnu::always_inline]] inline void bitwiseInverse(const unsigned char* key, Key& inverted) noexcept {
|
||||
inline void bitwiseInverse(const unsigned char* key, Key& inverted) noexcept {
|
||||
__m256i chunk = _mm256_loadu_si256(reinterpret_cast<const __m256i*>(key));
|
||||
chunk = _mm256_xor_si256(chunk, _mm256_set1_epi8(0xFF));
|
||||
_mm256_storeu_si256(reinterpret_cast<__m256i*>(inverted), chunk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user