Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / child / webcrypto / algorithm_registry.cc
index 28e926f..7f674db 100644 (file)
@@ -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