aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/argonish/internal/rotations/rotations_ref.h
blob: 6f59e233a57356ccb99ed1906348a5020421cc8e (plain) (blame)
1
2
3
4
5
6
7
#pragma once

namespace NArgonish {
    static inline ui64 Rotr(const ui64 w, const unsigned c) {
        return (w >> c) | (w << (64 - c));
    }
}