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)14std::unique_ptr<ECSignatureCreator> ECSignatureCreator::Create( 15 ECPrivateKey* key) { 16 return std::make_unique<ECSignatureCreatorImpl>(key); 17 } 18 19 } // namespace crypto 20