comparison sha1.c @ 147:c2b93763dac9 libtomcrypt

Fixes for it to compile and work nicely with Dropbear. In particular, OS X's 'ar' doesn't seem to like arrays which don't have initialising values.
author Matt Johnston <matt@ucc.asn.au>
date Sun, 19 Dec 2004 16:23:32 +0000
parents 5d99163f7e32
children
comparison
equal deleted inserted replaced
144:7ed585a2c53b 147:c2b93763dac9
19 "sha1", 19 "sha1",
20 2, 20 2,
21 20, 21 20,
22 64, 22 64,
23 23
24 #if 0
25 /* matt */
24 /* DER identifier */ 26 /* DER identifier */
25 { 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E, 27 { 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E,
26 0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14 }, 28 0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14 },
27 15, 29 15,
30 #endif
28 31
29 &sha1_init, 32 &sha1_init,
30 &sha1_process, 33 &sha1_process,
31 &sha1_done, 34 &sha1_done,
32 &sha1_test 35 &sha1_test