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 | 10 |
9 namespace webcrypto { | 11 namespace webcrypto { |
10 | 12 |
11 namespace { | 13 namespace { |
12 | 14 |
13 class RsaSsaImplementation : public RsaHashedAlgorithm { | 15 class RsaSsaImplementation : public RsaHashedAlgorithm { |
14 public: | 16 public: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 } | 50 } |
49 }; | 51 }; |
50 | 52 |
51 } // namespace | 53 } // namespace |
52 | 54 |
53 scoped_ptr<AlgorithmImplementation> CreateRsaSsaImplementation() { | 55 scoped_ptr<AlgorithmImplementation> CreateRsaSsaImplementation() { |
54 return make_scoped_ptr(new RsaSsaImplementation); | 56 return make_scoped_ptr(new RsaSsaImplementation); |
55 } | 57 } |
56 | 58 |
57 } // namespace webcrypto | 59 } // namespace webcrypto |
OLD | NEW |