OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_private_key.h" | 5 #include "crypto/ec_private_key.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace crypto { | 9 namespace crypto { |
10 | 10 |
11 ECPrivateKey::~ECPrivateKey() {} | 11 ECPrivateKey::~ECPrivateKey() {} |
12 | 12 |
13 // static | 13 // static |
| 14 bool ECPrivateKey::IsSupported() { |
| 15 return false; |
| 16 } |
| 17 |
| 18 // static |
14 ECPrivateKey* ECPrivateKey::Create() { | 19 ECPrivateKey* ECPrivateKey::Create() { |
15 NOTIMPLEMENTED(); | 20 NOTIMPLEMENTED(); |
16 return NULL; | 21 return NULL; |
17 } | 22 } |
18 | 23 |
19 // static | 24 // static |
20 ECPrivateKey* ECPrivateKey::CreateSensitive() { | 25 ECPrivateKey* ECPrivateKey::CreateSensitive() { |
21 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
22 return NULL; | 27 return NULL; |
23 } | 28 } |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 NOTIMPLEMENTED(); | 62 NOTIMPLEMENTED(); |
58 return false; | 63 return false; |
59 } | 64 } |
60 | 65 |
61 bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) { | 66 bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) { |
62 NOTIMPLEMENTED(); | 67 NOTIMPLEMENTED(); |
63 return false; | 68 return false; |
64 } | 69 } |
65 | 70 |
66 } // namespace crypto | 71 } // namespace crypto |
OLD | NEW |