lib: use u8/u32/u64 for bit operations

This cleans up the bit operations.

Change-Id: Ie2b303cc6eddc4ef5315f8f55616dbe182664ddc
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
3 files changed