| 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 "content/child/webcrypto/openssl/util_openssl.h" | 5 #include "content/child/webcrypto/openssl/util_openssl.h" |
| 6 | 6 |
| 7 #include <openssl/evp.h> | 7 #include <openssl/evp.h> |
| 8 | 8 |
| 9 #include "content/child/webcrypto/crypto_data.h" | 9 #include "content/child/webcrypto/crypto_data.h" |
| 10 #include "content/child/webcrypto/platform_crypto.h" | 10 #include "content/child/webcrypto/platform_crypto.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 return EVP_sha256(); | 26 return EVP_sha256(); |
| 27 case blink::WebCryptoAlgorithmIdSha384: | 27 case blink::WebCryptoAlgorithmIdSha384: |
| 28 return EVP_sha384(); | 28 return EVP_sha384(); |
| 29 case blink::WebCryptoAlgorithmIdSha512: | 29 case blink::WebCryptoAlgorithmIdSha512: |
| 30 return EVP_sha512(); | 30 return EVP_sha512(); |
| 31 default: | 31 default: |
| 32 return NULL; | 32 return NULL; |
| 33 } | 33 } |
| 34 } | 34 } |
| 35 | 35 |
| 36 AlgorithmImplementation* CreatePlatformRsaOaepImplementation() { | |
| 37 // TODO(eroman): | |
| 38 return NULL; | |
| 39 } | |
| 40 | |
| 41 } // namespace webcrypto | 36 } // namespace webcrypto |
| 42 | 37 |
| 43 } // namespace content | 38 } // namespace content |
| OLD | NEW |