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

Side by Side Diff: content/renderer/webcrypto/webcrypto_impl_openssl.cc

Issue 25032003: Revert "[webcrypto] Add decrypt() for AES-CBC." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/renderer/webcrypto/webcrypto_impl.h" 5 #include "content/renderer/webcrypto/webcrypto_impl.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 void WebCryptoImpl::Init() { 9 void WebCryptoImpl::Init() {
10 } 10 }
11 11
12 bool WebCryptoImpl::EncryptInternal( 12 bool WebCryptoImpl::EncryptInternal(
13 const WebKit::WebCryptoAlgorithm& algorithm, 13 const WebKit::WebCryptoAlgorithm& algorithm,
14 const WebKit::WebCryptoKey& key, 14 const WebKit::WebCryptoKey& key,
15 const unsigned char* data, 15 const unsigned char* data,
16 unsigned data_size, 16 unsigned data_size,
17 WebKit::WebArrayBuffer* buffer) { 17 WebKit::WebArrayBuffer* buffer) {
18 return false; 18 return false;
19 } 19 }
20 20
21 bool WebCryptoImpl::DecryptInternal(
22 const WebKit::WebCryptoAlgorithm& algorithm,
23 const WebKit::WebCryptoKey& key,
24 const unsigned char* data,
25 unsigned data_size,
26 WebKit::WebArrayBuffer* buffer) {
27 return false;
28 }
29
30 bool WebCryptoImpl::DigestInternal( 21 bool WebCryptoImpl::DigestInternal(
31 const WebKit::WebCryptoAlgorithm& algorithm, 22 const WebKit::WebCryptoAlgorithm& algorithm,
32 const unsigned char* data, 23 const unsigned char* data,
33 unsigned data_size, 24 unsigned data_size,
34 WebKit::WebArrayBuffer* buffer) { 25 WebKit::WebArrayBuffer* buffer) {
35 // TODO(bryaneyler): Placeholder for OpenSSL implementation. 26 // TODO(bryaneyler): Placeholder for OpenSSL implementation.
36 // Issue http://crbug.com/267888. 27 // Issue http://crbug.com/267888.
37 return false; 28 return false;
38 } 29 }
39 30
(...skipping 28 matching lines...) Expand all
68 unsigned signature_size, 59 unsigned signature_size,
69 const unsigned char* data, 60 const unsigned char* data,
70 unsigned data_size, 61 unsigned data_size,
71 bool* signature_match) { 62 bool* signature_match) {
72 // TODO(bryaneyler): Placeholder for OpenSSL implementation. 63 // TODO(bryaneyler): Placeholder for OpenSSL implementation.
73 // Issue http://crbug.com/267888. 64 // Issue http://crbug.com/267888.
74 return false; 65 return false;
75 } 66 }
76 67
77 } // namespace content 68 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/webcrypto/webcrypto_impl_nss.cc ('k') | content/renderer/webcrypto/webcrypto_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698