|
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) | |
| TYPED_TEST (EcdsaTests, SignatureDoubleGenerator) | |
| TYPED_TEST (EcdsaTests, SignatureGenerator) | |
| TEST (EcdsaTests, Secp256k1PointAtInfinityRegression) | |
| TEST (EcdsaTests, Secp256r1NativeStdlibDiscrepancyRegression) | |
| TEST (EcdsaTests, Secp256r1NafOverflowRegression) | |
| using Curves = testing::Types<stdlib::secp256k1<UltraCircuitBuilder>, stdlib::secp256r1<UltraCircuitBuilder>, stdlib::secp256k1<MegaCircuitBuilder>, stdlib::secp256r1<MegaCircuitBuilder> > |
Definition at line 405 of file ecdsa.test.cpp.
| TEST | ( | EcdsaTests | , |
| Secp256k1PointAtInfinityRegression | |||
| ) |
Definition at line 498 of file ecdsa.test.cpp.
| TEST | ( | EcdsaTests | , |
| Secp256r1NafOverflowRegression | |||
| ) |
Definition at line 642 of file ecdsa.test.cpp.
| TEST | ( | EcdsaTests | , |
| Secp256r1NativeStdlibDiscrepancyRegression | |||
| ) |
Definition at line 575 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| HighS | |||
| ) |
Definition at line 444 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InfinityPubKey | |||
| ) |
Definition at line 464 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InfinityScalarMul | |||
| ) |
Definition at line 469 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidPubKey | |||
| ) |
Definition at line 459 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidR | |||
| ) |
Definition at line 434 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| InvalidS | |||
| ) |
Definition at line 439 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| SignatureDoubleGenerator | |||
| ) |
Definition at line 483 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| SignatureGenerator | |||
| ) |
Definition at line 488 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| VerifyRandomSignature | |||
| ) |
Definition at line 412 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| VerifySignature | |||
| ) |
Definition at line 417 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| Wycherproof | |||
| ) |
Definition at line 474 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| XCoordinateOverflow | |||
| ) |
Definition at line 422 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| YCoordinateOverflow | |||
| ) |
Definition at line 428 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| ZeroR | |||
| ) |
Definition at line 449 of file ecdsa.test.cpp.
| TYPED_TEST | ( | EcdsaTests | , |
| ZeroS | |||
| ) |
Definition at line 454 of file ecdsa.test.cpp.
| TYPED_TEST_SUITE | ( | EcdsaTests | , |
| Curves | |||
| ) |