mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
20 lines
518 B
C++
20 lines
518 B
C++
// 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/check.h"
|
|
#include "base/memory/ptr_util.h"
|
|
#include "crypto/ec_signature_creator_impl.h"
|
|
|
|
namespace crypto {
|
|
|
|
// static
|
|
std::unique_ptr<ECSignatureCreator> ECSignatureCreator::Create(
|
|
ECPrivateKey* key) {
|
|
return std::make_unique<ECSignatureCreatorImpl>(key);
|
|
}
|
|
|
|
} // namespace crypto
|