Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(610)

Unified Diff: crypto/third_party/nss/chromium-nss.h

Issue 17776003: Add SignatureVerifier::VerifyInitRSAPSS for verifying RSA-PSS signatures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Work around the lack of HASH_GetType and HASH_ResultLenContext Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/third_party/nss/README.chromium ('k') | crypto/third_party/nss/rsawrapr.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/third_party/nss/chromium-nss.h
===================================================================
--- crypto/third_party/nss/chromium-nss.h (revision 208575)
+++ crypto/third_party/nss/chromium-nss.h (working copy)
@@ -39,11 +39,20 @@
// This file contains some functions we borrowed from NSS.
+#include <prtypes.h>
+#include <hasht.h>
#include <keyhi.h>
#include <secmod.h>
#include "crypto/crypto_export.h"
+extern "C" SECStatus emsa_pss_verify(const unsigned char *mHash,
+ const unsigned char *em,
+ unsigned int emLen,
+ HASH_HashType hashAlg,
+ HASH_HashType maskHashAlg,
+ unsigned int sLen);
+
// Like PK11_ImportEncryptedPrivateKeyInfo, but hardcoded for EC, and returns
// the SECKEYPrivateKey.
// See https://bugzilla.mozilla.org/show_bug.cgi?id=211546
« no previous file with comments | « crypto/third_party/nss/README.chromium ('k') | crypto/third_party/nss/rsawrapr.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698