summaryrefslogtreecommitdiff
path: root/cipher/sha512.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-01-30 20:12:02 +0000
committerWerner Koch <wk@gnupg.org>2007-01-30 20:12:02 +0000
commitbc5067ca8111439d8f7aca02e082383ed781db67 (patch)
tree1039c41fa4d39066bed9ac91f4eaeed06b2b444b /cipher/sha512.c
parentd074ccec673b8c0460ad53a9bb5235ec8d081736 (diff)
downloadlibgcrypt-bc5067ca8111439d8f7aca02e082383ed781db67.tar.gz
Added OIDs from pkcs#1
Diffstat (limited to 'cipher/sha512.c')
-rw-r--r--cipher/sha512.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cipher/sha512.c b/cipher/sha512.c
index e67db2b0..57fd180a 100644
--- a/cipher/sha512.c
+++ b/cipher/sha512.c
@@ -371,6 +371,10 @@ static byte sha512_asn[] = /* Object ID is 2.16.840.1.101.3.4.2.3 */
static gcry_md_oid_spec_t oid_spec_sha512[] =
{
{ "2.16.840.1.101.3.4.2.3" },
+
+ /* PKCS#1 sha512WithRSAEncryption */
+ { "1.2.840.113549.1.1.13" },
+
{ NULL }
};
@@ -390,6 +394,10 @@ static byte sha384_asn[] = /* Object ID is 2.16.840.1.101.3.4.2.2 */
static gcry_md_oid_spec_t oid_spec_sha384[] =
{
{ "2.16.840.1.101.3.4.2.2" },
+
+ /* PKCS#1 sha384WithRSAEncryption */
+ { "1.2.840.113549.1.1.12" },
+
{ NULL },
};