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

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

Issue 24616003: Implement verify() for HMAC using NSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_build_sh
Patch Set: Rebase. 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
« no previous file with comments | « content/renderer/webcrypto_impl_nss.cc ('k') | content/renderer/webcrypto_impl_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_impl.h" 5 #include "content/renderer/webcrypto_impl.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 void WebCryptoImpl::Init() { 9 void WebCryptoImpl::Init() {
10 } 10 }
(...skipping 25 matching lines...) Expand all
36 const WebKit::WebCryptoAlgorithm& algorithm, 36 const WebKit::WebCryptoAlgorithm& algorithm,
37 const WebKit::WebCryptoKey& key, 37 const WebKit::WebCryptoKey& key,
38 const unsigned char* data, 38 const unsigned char* data,
39 unsigned data_size, 39 unsigned data_size,
40 WebKit::WebArrayBuffer* buffer) { 40 WebKit::WebArrayBuffer* buffer) {
41 // TODO(bryaneyler): Placeholder for OpenSSL implementation. 41 // TODO(bryaneyler): Placeholder for OpenSSL implementation.
42 // Issue http://crbug.com/267888. 42 // Issue http://crbug.com/267888.
43 return false; 43 return false;
44 } 44 }
45 45
46 bool WebCryptoImpl::VerifySignatureInternal(
47 const WebKit::WebCryptoAlgorithm& algorithm,
48 const WebKit::WebCryptoKey& key,
49 const unsigned char* signature,
50 unsigned signature_size,
51 const unsigned char* data,
52 unsigned data_size,
53 bool* signature_match) {
54 // TODO(bryaneyler): Placeholder for OpenSSL implementation.
55 // Issue http://crbug.com/267888.
56 return false;
57 }
58
46 } // namespace content 59 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/webcrypto_impl_nss.cc ('k') | content/renderer/webcrypto_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698