Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: content/child/webcrypto/openssl/util_openssl.cc

Issue 419673006: [webcrypto] Implement RSA-OAEP using BoringSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/child/webcrypto/openssl/rsa_oaep_openssl.cc ('k') | content/child/webcrypto/shared_crypto_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698