diff options
author | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2017-08-07 19:26:26 +0200 |
---|---|---|
committer | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2017-08-07 19:26:26 +0200 |
commit | a7bd2cbd3eabda88fb3cac5cbc13c21c97a7b315 (patch) | |
tree | 85f1339fcaf6c2e3f46ee52001d5c933dff7c271 /cipher/sha512.c | |
parent | df1e221b3012e96bbffbc7d5fd70836a9ae1cc19 (diff) | |
download | libgcrypt-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.c | 3 |
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 }, }; |