Create a new ECSignatureCreator class for signing content using EC crypto.
Review URL: http://codereview.chromium.org/9240029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118964 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/crypto/ec_signature_creator_openssl.cc b/crypto/ec_signature_creator_openssl.cc
new file mode 100644
index 0000000..9e75ca2
--- /dev/null
+++ b/crypto/ec_signature_creator_openssl.cc
@@ -0,0 +1,33 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "crypto/ec_signature_creator.h"
+
+#include "base/logging.h"
+
+namespace crypto {
+
+// static
+ECSignatureCreator* ECSignatureCreator::Create(ECPrivateKey* key) {
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
+ECSignatureCreator::ECSignatureCreator(ECPrivateKey* key,
+ HASH_HashType hash_type)
+ : key_(key),
+ hash_type_(hash_type) {
+ NOTIMPLEMENTED();
+}
+
+ECSignatureCreator::~ECSignatureCreator() { }
+
+bool ECSignatureCreator::Sign(const uint8* data,
+ int data_len,
+ std::vector<uint8>* signature) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace crypto