| 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 <stdint.h> |
| 6 |
| 5 #include "components/webcrypto/algorithms/rsa.h" | 7 #include "components/webcrypto/algorithms/rsa.h" |
| 6 #include "components/webcrypto/algorithms/rsa_sign.h" | 8 #include "components/webcrypto/algorithms/rsa_sign.h" |
| 7 #include "components/webcrypto/status.h" | 9 #include "components/webcrypto/status.h" |
| 8 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" | 10 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" |
| 9 | 11 |
| 10 namespace webcrypto { | 12 namespace webcrypto { |
| 11 | 13 |
| 12 namespace { | 14 namespace { |
| 13 | 15 |
| 14 class RsaPssImplementation : public RsaHashedAlgorithm { | 16 class RsaPssImplementation : public RsaHashedAlgorithm { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 53 } |
| 52 }; | 54 }; |
| 53 | 55 |
| 54 } // namespace | 56 } // namespace |
| 55 | 57 |
| 56 scoped_ptr<AlgorithmImplementation> CreateRsaPssImplementation() { | 58 scoped_ptr<AlgorithmImplementation> CreateRsaPssImplementation() { |
| 57 return make_scoped_ptr(new RsaPssImplementation); | 59 return make_scoped_ptr(new RsaPssImplementation); |
| 58 } | 60 } |
| 59 | 61 |
| 60 } // namespace webcrypto | 62 } // namespace webcrypto |
| OLD | NEW |