rotations_ref.h 149 B

1234567
  1. #pragma once
  2. namespace NArgonish {
  3. static inline ui64 Rotr(const ui64 w, const unsigned c) {
  4. return (w >> c) | (w << (64 - c));
  5. }
  6. }