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

Side by Side Diff: crypto/ec_signature_creator_openssl.cc

Issue 10910226: crypto: change ECSignatureCreator defaults to match SPDY. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 3 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
« no previous file with comments | « crypto/ec_signature_creator_nss.cc ('k') | crypto/ec_signature_creator_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "crypto/ec_signature_creator_impl.h" 5 #include "crypto/ec_signature_creator_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace crypto { 9 namespace crypto {
10 10
11 ECSignatureCreatorImpl::ECSignatureCreatorImpl(ECPrivateKey* key) 11 ECSignatureCreatorImpl::ECSignatureCreatorImpl(ECPrivateKey* key)
12 : key_(key) { 12 : key_(key) {
13 NOTIMPLEMENTED(); 13 NOTIMPLEMENTED();
14 } 14 }
15 15
16 ECSignatureCreatorImpl::~ECSignatureCreatorImpl() {} 16 ECSignatureCreatorImpl::~ECSignatureCreatorImpl() {}
17 17
18 bool ECSignatureCreatorImpl::Sign(const uint8* data, 18 bool ECSignatureCreatorImpl::Sign(const uint8* data,
19 int data_len, 19 int data_len,
20 std::vector<uint8>* signature) { 20 std::vector<uint8>* signature) {
21 NOTIMPLEMENTED(); 21 NOTIMPLEMENTED();
22 return false; 22 return false;
23 } 23 }
24 24
25 bool ECSignatureCreatorImpl::DecodeSignature(const std::vector<uint8>& der_sig,
26 std::vector<uint8>* out_raw_sig) {
27 NOTIMPLEMENTED();
28 return false;
29 }
30
25 } // namespace crypto 31 } // namespace crypto
OLDNEW
« no previous file with comments | « crypto/ec_signature_creator_nss.cc ('k') | crypto/ec_signature_creator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698