ec_signature_creator.cc 518 B

12345678910111213141516171819
  1. // Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "crypto/ec_signature_creator.h"
  5. #include "base/check.h"
  6. #include "base/memory/ptr_util.h"
  7. #include "crypto/ec_signature_creator_impl.h"
  8. namespace crypto {
  9. // static
  10. std::unique_ptr<ECSignatureCreator> ECSignatureCreator::Create(
  11. ECPrivateKey* key) {
  12. return std::make_unique<ECSignatureCreatorImpl>(key);
  13. }
  14. } // namespace crypto