+8
−9
Loading
This one had no security implications (good thing, or the shift by a variable number of bits could leak too), but I suspect that if my computer weren't so fast or this function were called more often, avoiding the conditional branch would improve performance.