summaryrefslogtreecommitdiff
path: root/chromium/crypto/ec_signature_creator_openssl.cc
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
committerZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
commit679147eead574d186ebf3069647b4c23e8ccace6 (patch)
treefc247a0ac8ff119f7c8550879ebb6d3dd8d1ff69 /chromium/crypto/ec_signature_creator_openssl.cc
downloadqtwebengine-chromium-679147eead574d186ebf3069647b4c23e8ccace6.tar.gz
Initial import.
Diffstat (limited to 'chromium/crypto/ec_signature_creator_openssl.cc')
-rw-r--r--chromium/crypto/ec_signature_creator_openssl.cc31
1 files changed, 31 insertions, 0 deletions
diff --git a/chromium/crypto/ec_signature_creator_openssl.cc b/chromium/crypto/ec_signature_creator_openssl.cc
new file mode 100644
index 00000000000..8854f5ed464
--- /dev/null
+++ b/chromium/crypto/ec_signature_creator_openssl.cc
@@ -0,0 +1,31 @@
+// 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_impl.h"
+
+#include "base/logging.h"
+
+namespace crypto {
+
+ECSignatureCreatorImpl::ECSignatureCreatorImpl(ECPrivateKey* key)
+ : key_(key) {
+ NOTIMPLEMENTED();
+}
+
+ECSignatureCreatorImpl::~ECSignatureCreatorImpl() {}
+
+bool ECSignatureCreatorImpl::Sign(const uint8* data,
+ int data_len,
+ std::vector<uint8>* signature) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+bool ECSignatureCreatorImpl::DecodeSignature(const std::vector<uint8>& der_sig,
+ std::vector<uint8>* out_raw_sig) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace crypto