diff options
Diffstat (limited to 'src/lib/utils/rotate.h')
-rw-r--r-- | src/lib/utils/rotate.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/utils/rotate.h b/src/lib/utils/rotate.h index 15c78ac26..06361aa54 100644 --- a/src/lib/utils/rotate.h +++ b/src/lib/utils/rotate.h @@ -10,8 +10,6 @@ #include <botan/types.h> -BOTAN_FUTURE_INTERNAL_HEADER(rotate.h) - namespace Botan { /** @@ -84,23 +82,6 @@ inline uint32_t rotr_var(uint32_t input, size_t rot) #endif - -template<typename T> -BOTAN_DEPRECATED("Use rotl<N> or rotl_var") -inline T rotate_left(T input, size_t rot) - { - // rotl_var does not reduce - return rotl_var(input, rot % (8 * sizeof(T))); - } - -template<typename T> -BOTAN_DEPRECATED("Use rotr<N> or rotr_var") -inline T rotate_right(T input, size_t rot) - { - // rotr_var does not reduce - return rotr_var(input, rot % (8 * sizeof(T))); - } - } #endif |