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

Unified Diff: content/child/webcrypto/algorithm_registry.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 | « no previous file | content/child/webcrypto/nss/util_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/algorithm_registry.cc
diff --git a/content/child/webcrypto/algorithm_registry.cc b/content/child/webcrypto/algorithm_registry.cc
index 28e926f6c3fcdccf52115cb7c344298087edcd0f..7f674db0bbe7e68c3268f07b661203127d30bf3c 100644
--- a/content/child/webcrypto/algorithm_registry.cc
+++ b/content/child/webcrypto/algorithm_registry.cc
@@ -26,7 +26,8 @@ class AlgorithmRegistry {
aes_kw_(CreatePlatformAesKwImplementation()),
hmac_(CreatePlatformHmacImplementation()),
rsa_ssa_(CreatePlatformRsaSsaImplementation()),
- rsa_oaep_(CreatePlatformRsaOaepImplementation()) {
+ rsa_oaep_(CreatePlatformRsaOaepImplementation()),
+ rsa_pss_(CreatePlatformRsaPssImplementation()) {
PlatformInit();
}
@@ -52,6 +53,8 @@ class AlgorithmRegistry {
return rsa_ssa_.get();
case blink::WebCryptoAlgorithmIdRsaOaep:
return rsa_oaep_.get();
+ case blink::WebCryptoAlgorithmIdRsaPss:
+ return rsa_pss_.get();
default:
return NULL;
}
@@ -66,6 +69,7 @@ class AlgorithmRegistry {
const scoped_ptr<AlgorithmImplementation> hmac_;
const scoped_ptr<AlgorithmImplementation> rsa_ssa_;
const scoped_ptr<AlgorithmImplementation> rsa_oaep_;
+ const scoped_ptr<AlgorithmImplementation> rsa_pss_;
};
} // namespace
« no previous file with comments | « no previous file | content/child/webcrypto/nss/util_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698