comparison src/hashes/sha1.c @ 195:19e5d79b7190 libtomcrypt

Cleanup of import of LTC 1.02, still problematic for Dropbear
author Matt Johnston <matt@ucc.asn.au>
date Mon, 09 May 2005 09:33:00 +0000
parents 9cc34777b479
children 4768b55c5240
comparison
equal deleted inserted replaced
192:9cc34777b479 195:19e5d79b7190
23 "sha1", 23 "sha1",
24 2, 24 2,
25 20, 25 20,
26 64, 26 64,
27 27
28 #if 0
29 /* matt */
30 /* DER identifier */
31 { 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E, 28 { 0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2B, 0x0E,
32 0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14 }, 29 0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14 },
33 15, 30 15,
34 #endif
35 31
36 &sha1_init, 32 &sha1_init,
37 &sha1_process, 33 &sha1_process,
38 &sha1_done, 34 &sha1_done,
39 &sha1_test 35 &sha1_test