added libtomcrypt-1.03
This commit is contained in:
committed by
Steffen Jaeckel
parent
65c1317eee
commit
3964a6523a
@@ -20,9 +20,9 @@ const struct ltc_hash_descriptor sha224_desc =
|
||||
28,
|
||||
64,
|
||||
|
||||
/* DER identifier (not supported) */
|
||||
{ 0x00 },
|
||||
0,
|
||||
/* OID */
|
||||
{ 2, 16, 840, 1, 101, 3, 4, 2, 4, },
|
||||
9,
|
||||
|
||||
&sha224_init,
|
||||
&sha256_process,
|
||||
@@ -118,3 +118,7 @@ int sha224_test(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/* $Source$ */
|
||||
/* $Revision$ */
|
||||
/* $Date$ */
|
||||
|
||||
@@ -24,11 +24,9 @@ const struct ltc_hash_descriptor sha256_desc =
|
||||
32,
|
||||
64,
|
||||
|
||||
/* DER identifier */
|
||||
{ 0x30, 0x31, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86,
|
||||
0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05,
|
||||
0x00, 0x04, 0x20 },
|
||||
19,
|
||||
/* OID */
|
||||
{ 2, 16, 840, 1, 101, 3, 4, 2, 1, },
|
||||
9,
|
||||
|
||||
&sha256_init,
|
||||
&sha256_process,
|
||||
@@ -335,3 +333,7 @@ int sha256_test(void)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* $Source$ */
|
||||
/* $Revision$ */
|
||||
/* $Date$ */
|
||||
|
||||
@@ -20,11 +20,9 @@ const struct ltc_hash_descriptor sha384_desc =
|
||||
48,
|
||||
128,
|
||||
|
||||
/* DER identifier */
|
||||
{ 0x30, 0x41, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86,
|
||||
0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x02, 0x05,
|
||||
0x00, 0x04, 0x30 },
|
||||
19,
|
||||
/* OID */
|
||||
{ 2, 16, 840, 1, 101, 3, 4, 2, 2, },
|
||||
9,
|
||||
|
||||
&sha384_init,
|
||||
&sha512_process,
|
||||
@@ -130,3 +128,7 @@ int sha384_test(void)
|
||||
|
||||
|
||||
|
||||
|
||||
/* $Source$ */
|
||||
/* $Revision$ */
|
||||
/* $Date$ */
|
||||
|
||||
@@ -24,11 +24,9 @@ const struct ltc_hash_descriptor sha512_desc =
|
||||
64,
|
||||
128,
|
||||
|
||||
/* DER identifier */
|
||||
{ 0x30, 0x51, 0x30, 0x0D, 0x06, 0x09, 0x60, 0x86,
|
||||
0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03, 0x05,
|
||||
0x00, 0x04, 0x40 },
|
||||
19,
|
||||
/* OID */
|
||||
{ 2, 16, 840, 1, 101, 3, 4, 2, 3, },
|
||||
9,
|
||||
|
||||
&sha512_init,
|
||||
&sha512_process,
|
||||
@@ -314,3 +312,7 @@ int sha512_test(void)
|
||||
|
||||
|
||||
|
||||
|
||||
/* $Source$ */
|
||||
/* $Revision$ */
|
||||
/* $Date$ */
|
||||
|
||||
Reference in New Issue
Block a user