summaryrefslogtreecommitdiff
path: root/cipher/sha512.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2017-08-07 19:26:26 +0200
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2017-08-07 19:26:26 +0200
commita7bd2cbd3eabda88fb3cac5cbc13c21c97a7b315 (patch)
tree85f1339fcaf6c2e3f46ee52001d5c933dff7c271 /cipher/sha512.c
parentdf1e221b3012e96bbffbc7d5fd70836a9ae1cc19 (diff)
downloadlibgcrypt-a7bd2cbd3eabda88fb3cac5cbc13c21c97a7b315.tar.gz
cipher: Add OID for SHA384WithECDSA.
* cipher/sha512.c (oid_spec_sha384): Add SHA384WithECDSA. Signed-off-by: Marcus Brinkmann <mb@g10code.com> Suggested-by: Sven Fischer <sven@leiderfischer.de> GnuPG-bug-id: 3336
Diffstat (limited to 'cipher/sha512.c')
-rw-r--r--cipher/sha512.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher/sha512.c b/cipher/sha512.c
index 2ddc485c..06e8a2b9 100644
--- a/cipher/sha512.c
+++ b/cipher/sha512.c
@@ -943,6 +943,9 @@ static gcry_md_oid_spec_t oid_spec_sha384[] =
/* PKCS#1 sha384WithRSAEncryption */
{ "1.2.840.113549.1.1.12" },
+ /* SHA384WithECDSA: RFC 7427 (A.3.3.) */
+ { "1.2.840.10045.4.3.3" },
+
{ NULL },
};