|
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, XCoordinateOverflow) | |
| TYPED_TEST (EcdsaTests, YCoordinateOverflow) | |
| 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, InfinityScalarMul) | |
| TYPED_TEST (EcdsaTests, Wycherproof) | |
| using Curves = testing::Types<stdlib::secp256k1<UltraCircuitBuilder>, stdlib::secp256r1<UltraCircuitBuilder>, stdlib::secp256k1<MegaCircuitBuilder>, stdlib::secp256r1<MegaCircuitBuilder> > |
Definition at line 356 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| HighS | |||
| ) |
Definition at line 403 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InfinityPubKey | |||
| ) |
Definition at line 428 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InfinityScalarMul | |||
| ) |
Definition at line 435 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidPubKey | |||
| ) |
Definition at line 420 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidR | |||
| ) |
Definition at line 393 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidS | |||
| ) |
Definition at line 398 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| VerifyRandomSignature | |||
| ) |
Definition at line 363 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| VerifySignature | |||
| ) |
Definition at line 368 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| Wycherproof | |||
| ) |
Definition at line 443 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| XCoordinateOverflow | |||
| ) |
Definition at line 381 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| YCoordinateOverflow | |||
| ) |
Definition at line 387 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| ZeroR | |||
| ) |
Definition at line 410 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| ZeroS | |||
| ) |
Definition at line 415 of file ecdsa.test.cpp.
| TYPED_TEST_SUITE | ( | EcdsaTests | , |
| Curves | |||
| ) |