Mercurial > dropbear
comparison libtomcrypt/src/encauth/ocb/ocb_ntz.c @ 1439:8d24733026c5 coverity
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 23:33:16 +0800 |
parents | f849a5ca2efc |
children | 6dba84798cd5 |
comparison
equal
deleted
inserted
replaced
1400:238a439670f5 | 1439:8d24733026c5 |
---|---|
4 * algorithms in a highly modular and flexible manner. | 4 * algorithms in a highly modular and flexible manner. |
5 * | 5 * |
6 * The library is free for all purposes without any express | 6 * The library is free for all purposes without any express |
7 * guarantee it works. | 7 * guarantee it works. |
8 * | 8 * |
9 * Tom St Denis, [email protected], http://libtomcrypt.com | 9 * Tom St Denis, [email protected], http://libtom.org |
10 */ | 10 */ |
11 | 11 |
12 /** | 12 /** |
13 @file ocb_ntz.c | 13 @file ocb_ntz.c |
14 OCB implementation, internal function, by Tom St Denis | 14 OCB implementation, internal function, by Tom St Denis |
15 */ | 15 */ |
16 | 16 |
17 #include "tomcrypt.h" | 17 #include "tomcrypt.h" |
18 | 18 |
19 #ifdef OCB_MODE | 19 #ifdef LTC_OCB_MODE |
20 | 20 |
21 /** | 21 /** |
22 Returns the number of leading zero bits [from lsb up] | 22 Returns the number of leading zero bits [from lsb up] |
23 @param x The 32-bit value to observe | 23 @param x The 32-bit value to observe |
24 @return The number of bits [from the lsb up] that are zero | 24 @return The number of bits [from the lsb up] that are zero |
35 return c; | 35 return c; |
36 } | 36 } |
37 | 37 |
38 #endif | 38 #endif |
39 | 39 |
40 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/ocb/ocb_ntz.c,v $ */ | 40 /* $Source$ */ |
41 /* $Revision: 1.4 $ */ | 41 /* $Revision$ */ |
42 /* $Date: 2006/03/31 14:15:35 $ */ | 42 /* $Date$ */ |