xref: /aosp_15_r20/external/cronet/crypto/ec_signature_creator.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2012 The Chromium Authors
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_signature_creator.h"
6 
7 #include "base/check.h"
8 #include "base/memory/ptr_util.h"
9 #include "crypto/ec_signature_creator_impl.h"
10 
11 namespace crypto {
12 
13 // static
Create(ECPrivateKey * key)14 std::unique_ptr<ECSignatureCreator> ECSignatureCreator::Create(
15     ECPrivateKey* key) {
16   return std::make_unique<ECSignatureCreatorImpl>(key);
17 }
18 
19 }  // namespace crypto
20