Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
hmac.test.cpp File Reference
#include "hmac.hpp"
#include <gtest/gtest.h>
#include "../hashers/hashers.hpp"
#include <array>
#include <cstddef>
#include <stdint.h>
#include <vector>

Go to the source code of this file.

Classes

struct  TestData
 

Functions

std::array< uint8_t, 32 > hex_to_bytes (const std::string &hex)
 
 TEST (hmac, ValidateHMAC)
 

Function Documentation

◆ hex_to_bytes()

std::array< uint8_t, 32 > hex_to_bytes ( const std::string &  hex)

Definition at line 14 of file hmac.test.cpp.

◆ TEST()

TEST ( hmac  ,
ValidateHMAC   
)

Definition at line 31 of file hmac.test.cpp.