| 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 <openssl/evp.h> | 5 #include <openssl/evp.h> |
| 6 | 6 |
| 7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
| 8 #include "components/webcrypto/algorithms/key.h" |
| 9 #include "components/webcrypto/algorithms/rsa.h" |
| 10 #include "components/webcrypto/algorithms/util_openssl.h" |
| 8 #include "components/webcrypto/crypto_data.h" | 11 #include "components/webcrypto/crypto_data.h" |
| 9 #include "components/webcrypto/openssl/key_openssl.h" | |
| 10 #include "components/webcrypto/openssl/rsa_hashed_algorithm_openssl.h" | |
| 11 #include "components/webcrypto/openssl/util_openssl.h" | |
| 12 #include "components/webcrypto/status.h" | 12 #include "components/webcrypto/status.h" |
| 13 #include "crypto/openssl_util.h" | 13 #include "crypto/openssl_util.h" |
| 14 #include "crypto/scoped_openssl_types.h" | 14 #include "crypto/scoped_openssl_types.h" |
| 15 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" | 15 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" |
| 16 #include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h" | 16 #include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h" |
| 17 | 17 |
| 18 namespace webcrypto { | 18 namespace webcrypto { |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 } | 137 } |
| 138 }; | 138 }; |
| 139 | 139 |
| 140 } // namespace | 140 } // namespace |
| 141 | 141 |
| 142 AlgorithmImplementation* CreatePlatformRsaOaepImplementation() { | 142 AlgorithmImplementation* CreatePlatformRsaOaepImplementation() { |
| 143 return new RsaOaepImplementation; | 143 return new RsaOaepImplementation; |
| 144 } | 144 } |
| 145 | 145 |
| 146 } // namespace webcrypto | 146 } // namespace webcrypto |
| OLD | NEW |