// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "crypto/secure_hash.h" #include <stddef.h> #include "base/memory/ptr_util.h" #include "base/notreached.h" #include "base/pickle.h" #include "crypto/openssl_util.h" #include "third_party/boringssl/src/include/openssl/mem.h" #include "third_party/boringssl/src/include/openssl/sha.h" namespace crypto { namespace { class SecureHashSHA256 : public SecureHash { … }; class SecureHashSHA512 : public SecureHash { … }; } // namespace std::unique_ptr<SecureHash> SecureHash::Create(Algorithm algorithm) { … } } // namespace crypto