Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
schnorr.test.cpp File Reference
#include "schnorr.hpp"
#include "barretenberg/ecc/curves/grumpkin/grumpkin.hpp"
#include <gtest/gtest.h>

Go to the source code of this file.

Functions

crypto::schnorr_key_pair< grumpkin::fr, grumpkin::g1generate_signature ()
 
 TEST (schnorr, verify_signature_keccak256)
 
 TEST (schnorr, verify_signature_sha256)
 
 TEST (schnorr, verify_signature_blake2s)
 
 TEST (schnorr, hmac_signature_consistency)
 

Function Documentation

◆ generate_signature()

Definition at line 8 of file schnorr.test.cpp.

◆ TEST() [1/4]

TEST ( schnorr  ,
hmac_signature_consistency   
)

Definition at line 68 of file schnorr.test.cpp.

◆ TEST() [2/4]

TEST ( schnorr  ,
verify_signature_blake2s   
)

Definition at line 50 of file schnorr.test.cpp.

◆ TEST() [3/4]

TEST ( schnorr  ,
verify_signature_keccak256   
)

Definition at line 16 of file schnorr.test.cpp.

◆ TEST() [4/4]

TEST ( schnorr  ,
verify_signature_sha256   
)

Definition at line 33 of file schnorr.test.cpp.