#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "crypto/hmac.h"
#include <stddef.h>
#include <string.h>
#include <string>
#include <string_view>
#include "testing/gtest/include/gtest/gtest.h"
static const size_t kSHA1DigestSize = …;
static const size_t kSHA256DigestSize = …;
static const char* kSimpleKey = …;
static const size_t kSimpleKeyLength = …;
static const struct { … } kSimpleHmacCases[] = …;
TEST(HMACTest, HmacSafeBrowsingResponseTest) { … }
TEST(HMACTest, RFC2202TestCases) { … }
TEST(HMACTest, RFC4231TestCase6) { … }
TEST(HMACTest, NSSFIPSPowerUpSelfTest) { … }
TEST(HMACTest, HMACObjectReuse) { … }
TEST(HMACTest, Verify) { … }
TEST(HMACTest, EmptyKey) { … }
TEST(HMACTest, TooLong) { … }
TEST(HMACTest, Bytes) { … }