chromium/crypto/secure_hash_unittest.cc

// 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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "crypto/secure_hash.h"

#include <stddef.h>
#include <stdint.h>

#include <memory>
#include <string>
#include <utility>

#include "base/types/fixed_array.h"
#include "crypto/sha2.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/boringssl/src/include/openssl/sha.h"

class SecureHashTest : public testing::Test,
                       public testing::WithParamInterface<
                           std::pair<crypto::SecureHash::Algorithm, uint64_t>> {};

TEST_P(SecureHashTest, TestUpdateSHA256) {}

TEST_P(SecureHashTest, TestClone) {}

TEST_P(SecureHashTest, TestLength) {}

TEST_P(SecureHashTest, Equality) {}

INSTANTIATE_TEST_SUITE_P();