comparison libtomcrypt/src/hashes/sha2/sha256.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 #include "tomcrypt.h" 11 #include "tomcrypt.h"
12 12
13 /** 13 /**
14 @file sha256.c 14 @file sha256.c
15 SHA256 by Tom St Denis 15 LTC_SHA256 by Tom St Denis
16 */ 16 */
17 17
18 #ifdef SHA256 18 #ifdef LTC_SHA256
19 19
20 const struct ltc_hash_descriptor sha256_desc = 20 const struct ltc_hash_descriptor sha256_desc =
21 { 21 {
22 "sha256", 22 "sha256",
23 0, 23 0,
325 } 325 }
326 return CRYPT_OK; 326 return CRYPT_OK;
327 #endif 327 #endif
328 } 328 }
329 329
330 #ifdef SHA224 330 #ifdef LTC_SHA224
331 #include "sha224.c" 331 #include "sha224.c"
332 #endif 332 #endif
333 333
334 #endif 334 #endif
335 335
336 336
337 337
338 /* $Source: /cvs/libtom/libtomcrypt/src/hashes/sha2/sha256.c,v $ */ 338 /* $Source$ */
339 /* $Revision: 1.9 $ */ 339 /* $Revision$ */
340 /* $Date: 2006/11/01 09:28:17 $ */ 340 /* $Date$ */