#ifdef UNSAFE_BUFFERS_BUILD
#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(…);