8 #ifndef BOTAN_WORD_ROTATE_H__
9 #define BOTAN_WORD_ROTATE_H__
11 #include <botan/types.h>
21 template<
typename T>
inline T
rotate_left(T input,
size_t rot)
25 return static_cast<T
>((input << rot) | (input >> (8*
sizeof(T)-rot)));;
38 return static_cast<T
>((input >> rot) | (input << (8*
sizeof(T)-rot)));
T rotate_left(T input, size_t rot)
T rotate_right(T input, size_t rot)