Mercurial > dropbear
comparison libtomcrypt/src/encauth/ocb/ocb_init.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_init.c | 13 @file ocb_init.c |
14 OCB implementation, initialize state, by Tom St Denis | 14 OCB implementation, initialize state, by Tom St Denis |
15 */ | 15 */ |
16 #include "tomcrypt.h" | 16 #include "tomcrypt.h" |
17 | 17 |
18 #ifdef OCB_MODE | 18 #ifdef LTC_OCB_MODE |
19 | 19 |
20 static const struct { | 20 static const struct { |
21 int len; | 21 int len; |
22 unsigned char poly_div[MAXBLOCKSIZE], | 22 unsigned char poly_div[MAXBLOCKSIZE], |
23 poly_mul[MAXBLOCKSIZE]; | 23 poly_mul[MAXBLOCKSIZE]; |
130 return CRYPT_OK; | 130 return CRYPT_OK; |
131 } | 131 } |
132 | 132 |
133 #endif | 133 #endif |
134 | 134 |
135 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/ocb/ocb_init.c,v $ */ | 135 /* $Source$ */ |
136 /* $Revision: 1.5 $ */ | 136 /* $Revision$ */ |
137 /* $Date: 2006/03/31 14:15:35 $ */ | 137 /* $Date$ */ |