comparison libtomcrypt/src/encauth/ocb/ocb_test.c @ 1435:f849a5ca2efc

update to libtomcrypt 1.17 (with Dropbear changes)
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Jun 2017 17:50:50 +0800
parents 0cbe8f6dbf9e
children 6dba84798cd5
comparison
equal deleted inserted replaced
1434:27b9ddb06b09 1435:f849a5ca2efc
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_test.c 13 @file ocb_test.c
14 OCB implementation, self-test by Tom St Denis 14 OCB implementation, self-test 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 /** 20 /**
21 Test the OCB protocol 21 Test the OCB protocol
22 @return CRYPT_OK if successful 22 @return CRYPT_OK if successful
23 */ 23 */
220 } 220 }
221 return CRYPT_OK; 221 return CRYPT_OK;
222 #endif /* LTC_TEST */ 222 #endif /* LTC_TEST */
223 } 223 }
224 224
225 #endif /* OCB_MODE */ 225 #endif /* LTC_OCB_MODE */
226 226
227 227
228 /* some comments 228 /* some comments
229 229
230 -- it's hard to seek 230 -- it's hard to seek
231 -- hard to stream [you can't emit ciphertext until full block] 231 -- hard to stream [you can't emit ciphertext until full block]
232 -- The setup is somewhat complicated... 232 -- The setup is somewhat complicated...
233 */ 233 */
234 234
235 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/ocb/ocb_test.c,v $ */ 235 /* $Source$ */
236 /* $Revision: 1.5 $ */ 236 /* $Revision$ */
237 /* $Date: 2006/11/01 09:28:17 $ */ 237 /* $Date$ */