| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/webcrypto/openssl/rsa_hashed_algorithm_openssl.h" | 5 #include "components/webcrypto/algorithms/rsa.h" |
| 6 #include "components/webcrypto/openssl/rsa_sign_openssl.h" | 6 #include "components/webcrypto/algorithms/rsa_sign.h" |
| 7 #include "components/webcrypto/status.h" | 7 #include "components/webcrypto/status.h" |
| 8 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" | 8 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" |
| 9 | 9 |
| 10 namespace webcrypto { | 10 namespace webcrypto { |
| 11 | 11 |
| 12 namespace { | 12 namespace { |
| 13 | 13 |
| 14 class RsaPssImplementation : public RsaHashedAlgorithm { | 14 class RsaPssImplementation : public RsaHashedAlgorithm { |
| 15 public: | 15 public: |
| 16 RsaPssImplementation() | 16 RsaPssImplementation() |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 51 } |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace | 54 } // namespace |
| 55 | 55 |
| 56 AlgorithmImplementation* CreatePlatformRsaPssImplementation() { | 56 AlgorithmImplementation* CreatePlatformRsaPssImplementation() { |
| 57 return new RsaPssImplementation; | 57 return new RsaPssImplementation; |
| 58 } | 58 } |
| 59 | 59 |
| 60 } // namespace webcrypto | 60 } // namespace webcrypto |
| OLD | NEW |