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 "barretenberg/ecc/curves/secp256k1/secp256k1.hpp"
#include "barretenberg/ecc/curves/secp256r1/secp256r1.hpp"
#include <array>
#include <cstddef>
#include <stdint.h>
#include <vector>

Go to the source code of this file.

Classes

struct  TestData
 

Functions

 TEST (hmac, ValidateHMAC)
 
 TEST (NonceDerivation, ValidateRFC6979K1)
 
 TEST (NonceDerivation, ValidateRFC6979R1)
 

Function Documentation

◆ TEST() [1/3]

TEST ( hmac  ,
ValidateHMAC   
)

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

◆ TEST() [2/3]

TEST ( NonceDerivation  ,
ValidateRFC6979K1   
)

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

◆ TEST() [3/3]

TEST ( NonceDerivation  ,
ValidateRFC6979R1   
)

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