bithelp: fix undefined behaviour with rol and ror
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 30 Oct 2013 06:57:15 +0000 (08:57 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 30 Oct 2013 06:57:15 +0000 (08:57 +0200)
commitd1cadd145199040299538891ab2ccd1208f7776e
tree0515b9cc6063cefbeb4e1a0f813287f751f6e549
parentba6bffafd17bea11985afc500022d66da261d59a
bithelp: fix undefined behaviour with rol and ror

* cipher/bithelp.h (rol, ror): Mask shift with 31.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/bithelp.h