comparison libtomcrypt/src/hashes/sha2/sha512.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 #include "tomcrypt.h" 11 #include "tomcrypt.h"
12 12
13 /** 13 /**
14 @param sha512.c 14 @param sha512.c
15 SHA512 by Tom St Denis 15 LTC_SHA512 by Tom St Denis
16 */ 16 */
17 17
18 #ifdef SHA512 18 #ifdef LTC_SHA512
19 19
20 const struct ltc_hash_descriptor sha512_desc = 20 const struct ltc_hash_descriptor sha512_desc =
21 { 21 {
22 "sha512", 22 "sha512",
23 5, 23 5,
303 } 303 }
304 return CRYPT_OK; 304 return CRYPT_OK;
305 #endif 305 #endif
306 } 306 }
307 307
308 #ifdef SHA384 308 #ifdef LTC_SHA384
309 #include "sha384.c" 309 #include "sha384.c"
310 #endif 310 #endif
311 311
312 #endif 312 #endif
313 313
314 314
315 315
316 316
317 /* $Source: /cvs/libtom/libtomcrypt/src/hashes/sha2/sha512.c,v $ */ 317 /* $Source$ */
318 /* $Revision: 1.8 $ */ 318 /* $Revision$ */
319 /* $Date: 2006/11/01 09:28:17 $ */ 319 /* $Date$ */