summaryrefslogtreecommitdiff
path: root/cipher/sha256.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/sha256.c
parentd074ccec673b8c0460ad53a9bb5235ec8d081736 (diff)
downloadlibgcrypt-bc5067ca8111439d8f7aca02e082383ed781db67.tar.gz
Added OIDs from pkcs#1
Diffstat (limited to 'cipher/sha256.c')
-rw-r--r--cipher/sha256.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher/sha256.c b/cipher/sha256.c
index 754f4591..7a526a85 100644
--- a/cipher/sha256.c
+++ b/cipher/sha256.c
@@ -334,6 +334,9 @@ static gcry_md_oid_spec_t oid_spec_sha256[] =
{
/* According to the OpenPGG draft rfc2440-bis06 */
{ "2.16.840.1.101.3.4.2.1" },
+ /* PKCS#1 sha256WithRSAEncryption */
+ { "1.2.840.113549.1.1.11" },
+
{ NULL },
};