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

Side by Side Diff: crypto/ec_private_key_openssl.cc

Issue 8413024: Add ECPrivateKey for Elliptic Curve keypair generation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes Created 9 years, 1 month 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_private_key_nss.cc ('k') | crypto/ec_private_key_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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "crypto/ec_private_key.h"
6
7 #include "base/logging.h"
8
9 namespace crypto {
10
11 ECPrivateKey::~ECPrivateKey() {}
12
13 // static
14 ECPrivateKey* ECPrivateKey::Create() {
15 NOTIMPLEMENTED();
16 return NULL;
17 }
18
19 // static
20 ECPrivateKey* ECPrivateKey::CreateSensitive() {
21 NOTIMPLEMENTED();
22 return NULL;
23 }
24
25 // static
26 ECPrivateKey* ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
27 const std::string& password,
28 const std::vector<uint8>& encrypted_private_key_info,
29 const std::vector<uint8>& subject_public_key_info) {
30 NOTIMPLEMENTED();
31 return NULL;
32 }
33
34 // static
35 ECPrivateKey* ECPrivateKey::CreateSensitiveFromEncryptedPrivateKeyInfo(
36 const std::string& password,
37 const std::vector<uint8>& encrypted_private_key_info,
38 const std::vector<uint8>& subject_public_key_info) {
39 NOTIMPLEMENTED();
40 return NULL;
41 }
42
43 bool ECPrivateKey::ExportEncryptedPrivateKey(
44 const std::string& password,
45 int iterations,
46 std::vector<uint8>* output) {
47 NOTIMPLEMENTED();
48 return false;
49 }
50
51 bool ECPrivateKey::ExportPublicKey(std::vector<uint8>* output) {
52 NOTIMPLEMENTED();
53 return false;
54 }
55
56 bool ECPrivateKey::ExportValue(std::vector<uint8>* output) {
57 NOTIMPLEMENTED();
58 return false;
59 }
60
61 bool ECPrivateKey::ExportECParams(std::vector<uint8>* output) {
62 NOTIMPLEMENTED();
63 return false;
64 }
65
66 } // namespace crypto
OLDNEW
« no previous file with comments | « crypto/ec_private_key_nss.cc ('k') | crypto/ec_private_key_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698