|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/crypto/ecdsa/ecdsa.hpp"#include "../../primitives/bigfield/bigfield.hpp"#include "../../primitives/biggroup/biggroup.hpp"#include "../../primitives/curves/secp256k1.hpp"#include "../../primitives/curves/secp256r1.hpp"#include "barretenberg/circuit_checker/circuit_checker.hpp"#include "barretenberg/common/test.hpp"#include "ecdsa.hpp"#include "ecdsa_tests_data.hpp"#include <gtest/gtest.h>#include <algorithm>Go to the source code of this file.
Classes | |
| class | EcdsaTests< Curve > |
Typedefs | |
| using | Curves = testing::Types< stdlib::secp256k1< UltraCircuitBuilder >, stdlib::secp256r1< UltraCircuitBuilder >, stdlib::secp256k1< MegaCircuitBuilder >, stdlib::secp256r1< MegaCircuitBuilder > > |
Functions | |
| TYPED_TEST_SUITE (EcdsaTests, Curves) | |
| TYPED_TEST (EcdsaTests, VerifyRandomSignature) | |
| TYPED_TEST (EcdsaTests, VerifySignature) | |
| TYPED_TEST (EcdsaTests, InvalidR) | |
| TYPED_TEST (EcdsaTests, InvalidS) | |
| TYPED_TEST (EcdsaTests, HighS) | |
| TYPED_TEST (EcdsaTests, ZeroR) | |
| TYPED_TEST (EcdsaTests, ZeroS) | |
| TYPED_TEST (EcdsaTests, InvalidPubKey) | |
| TYPED_TEST (EcdsaTests, InfinityPubKey) | |
| TYPED_TEST (EcdsaTests, OutOfBoundsHash) | |
| TYPED_TEST (EcdsaTests, InfinityScalarMul) | |
| TYPED_TEST (EcdsaTests, Wycherproof) | |
| using Curves = testing::Types<stdlib::secp256k1<UltraCircuitBuilder>, stdlib::secp256r1<UltraCircuitBuilder>, stdlib::secp256k1<MegaCircuitBuilder>, stdlib::secp256r1<MegaCircuitBuilder> > |
Definition at line 392 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| HighS | |||
| ) |
Definition at line 419 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InfinityPubKey | |||
| ) |
Definition at line 444 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InfinityScalarMul | |||
| ) |
Definition at line 456 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidPubKey | |||
| ) |
Definition at line 436 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidR | |||
| ) |
Definition at line 409 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidS | |||
| ) |
Definition at line 414 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| OutOfBoundsHash | |||
| ) |
Definition at line 451 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| VerifyRandomSignature | |||
| ) |
Definition at line 399 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| VerifySignature | |||
| ) |
Definition at line 404 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| Wycherproof | |||
| ) |
Definition at line 464 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| ZeroR | |||
| ) |
Definition at line 426 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| ZeroS | |||
| ) |
Definition at line 431 of file ecdsa.test.cpp.
| TYPED_TEST_SUITE | ( | EcdsaTests | , |
| Curves | |||
| ) |