1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
6 * The library is free for all purposes without any express
12 OCB implementation, INTERNAL ONLY helper, by Tom St Denis
19 Returns the number of leading zero bits [from lsb up] (internal function)
20 @param x The 32-bit value to observe
21 @return The number of bits [from the lsb up] that are zero
23 int ocb3_int_ntz(unsigned long x)
28 while ((x & 1) == 0) {
37 /* ref: $Format:%D$ */
38 /* git commit: $Format:%H$ */
39 /* commit time: $Format:%ai$ */