OLD | NEW |
---|---|
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.h" | 5 #include "crypto/ec_signature_creator.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace crypto { | 9 namespace crypto { |
10 | 10 |
11 // static | 11 // static |
12 ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) { | 12 ECSignatureCreator* ECSignatureCreator::CreatePlatformImpl(ECPrivateKey* key) { |
Ryan Hamilton
2012/02/23 04:36:12
Nice... cleaner not-implemented implementation...
| |
13 NOTIMPLEMENTED(); | 13 NOTIMPLEMENTED(); |
14 return NULL; | 14 return NULL; |
15 } | 15 } |
16 | 16 |
17 ECSignatureCreator::ECSignatureCreator(ECPrivateKey* key) | |
18 : key_(key) { | |
19 NOTIMPLEMENTED(); | |
20 } | |
21 | |
22 ECSignatureCreator::~ECSignatureCreator() { } | |
23 | |
24 bool ECSignatureCreator::Sign(const uint8* data, | |
25 int data_len, | |
26 std::vector<uint8>* signature) { | |
27 NOTIMPLEMENTED(); | |
28 return false; | |
29 } | |
30 | |
31 } // namespace crypto | 17 } // namespace crypto |
OLD | NEW |