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

Unified Diff: content/child/webcrypto/openssl/rsa_ssa_openssl.cc

Issue 661653002: [webcrypto] Implement RSA-PSS using BoringSSL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_rsassa
Patch Set: rebase onto master (corrected) Created 6 years, 2 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 | « content/child/webcrypto/openssl/rsa_sign_openssl.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/openssl/rsa_ssa_openssl.cc
diff --git a/content/child/webcrypto/openssl/rsa_ssa_openssl.cc b/content/child/webcrypto/openssl/rsa_ssa_openssl.cc
index be974cc405e4d5871b4dbf1ea5ffe1e75fb3b908..cf1ab6ec0d976ae54ff89771c9ae5bfb656e342f 100644
--- a/content/child/webcrypto/openssl/rsa_ssa_openssl.cc
+++ b/content/child/webcrypto/openssl/rsa_ssa_openssl.cc
@@ -38,7 +38,7 @@ class RsaSsaImplementation : public RsaHashedAlgorithm {
const blink::WebCryptoKey& key,
const CryptoData& data,
std::vector<uint8_t>* buffer) const override {
- return RsaSign(key, data, buffer);
+ return RsaSign(key, 0, data, buffer);
}
virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm,
@@ -46,7 +46,7 @@ class RsaSsaImplementation : public RsaHashedAlgorithm {
const CryptoData& signature,
const CryptoData& data,
bool* signature_match) const override {
- return RsaVerify(key, signature, data, signature_match);
+ return RsaVerify(key, 0, signature, data, signature_match);
}
};
« no previous file with comments | « content/child/webcrypto/openssl/rsa_sign_openssl.cc ('k') | content/child/webcrypto/platform_crypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698