Mercurial > dropbear
comparison src/hashes/sha2/sha256.c @ 209:39d5d58461d6 libtomcrypt-orig LTC_1.05
Import of libtomcrypt 1.05
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 06 Jul 2005 03:53:40 +0000 |
parents | 1c15b283127b |
children |
comparison
equal
deleted
inserted
replaced
191:1c15b283127b | 209:39d5d58461d6 |
---|---|
22 "sha256", | 22 "sha256", |
23 0, | 23 0, |
24 32, | 24 32, |
25 64, | 25 64, |
26 | 26 |
27 /* DER identifier */ | 27 /* OID */ |
28 { 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86, | 28 { 2, 16, 840, 1, 101, 3, 4, 2, 1, }, |
29 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, | 29 9, |
30 0x00, 0x04, 0x20 }, | |
31 19, | |
32 | 30 |
33 &sha256_init, | 31 &sha256_init, |
34 &sha256_process, | 32 &sha256_process, |
35 &sha256_done, | 33 &sha256_done, |
36 &sha256_test | 34 &sha256_test |
333 #endif | 331 #endif |
334 | 332 |
335 #endif | 333 #endif |
336 | 334 |
337 | 335 |
336 | |
337 /* $Source: /cvs/libtom/libtomcrypt/src/hashes/sha2/sha256.c,v $ */ | |
338 /* $Revision: 1.5 $ */ | |
339 /* $Date: 2005/05/23 02:42:07 $ */ |