UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
test_framework.hpp File Reference
#include <cstdint>
#include <cstddef>

Go to the source code of this file.

Classes

struct  secp256k1::test::TestCounters
 

Namespaces

namespace  secp256k1
 
namespace  secp256k1::test
 

Enumerations

enum class  secp256k1::test::TestCategory : uint32_t {
  secp256k1::test::FieldArith = 0x0001 , secp256k1::test::FieldConversions = 0x0002 , secp256k1::test::FieldEdgeCases = 0x0004 , secp256k1::test::FieldInverse = 0x0008 ,
  secp256k1::test::FieldRepresentations = 0x0010 , secp256k1::test::FieldBranchless = 0x0020 , secp256k1::test::FieldOptimal = 0x0040 , secp256k1::test::ScalarArith = 0x0100 ,
  secp256k1::test::ScalarConversions = 0x0200 , secp256k1::test::ScalarEdgeCases = 0x0400 , secp256k1::test::ScalarEncoding = 0x0800 , secp256k1::test::PointBasic = 0x1000 ,
  secp256k1::test::PointScalarMul = 0x2000 , secp256k1::test::PointInplace = 0x4000 , secp256k1::test::PointPrecomputed = 0x8000 , secp256k1::test::PointSerialization = 0x00010000 ,
  secp256k1::test::PointEdgeCases = 0x00020000 , secp256k1::test::CTOps = 0x00040000 , secp256k1::test::CTField = 0x00080000 , secp256k1::test::CTScalar = 0x00100000 ,
  secp256k1::test::CTPoint = 0x00200000 , secp256k1::test::GLV = 0x00400000 , secp256k1::test::MSM = 0x00800000 , secp256k1::test::CombGen = 0x01000000 ,
  secp256k1::test::BatchInverse = 0x02000000 , secp256k1::test::ECDSA = 0x04000000 , secp256k1::test::Schnorr = 0x08000000 , secp256k1::test::ECDH = 0x10000000 ,
  secp256k1::test::Recovery = 0x20000000 , secp256k1::test::AllField = 0x007F , secp256k1::test::AllScalar = 0x0F00 , secp256k1::test::AllPoint = 0x003F0000 & 0xFFFF0000 ,
  secp256k1::test::AllCT = 0x003C0000 , secp256k1::test::AllCore = 0x0FFFFFFF , secp256k1::test::All = 0xFFFFFFFF
}
 

Functions

constexpr TestCategory secp256k1::test::operator| (TestCategory a, TestCategory b)
 
constexpr TestCategory secp256k1::test::operator& (TestCategory a, TestCategory b)
 
constexpr bool secp256k1::test::has_flag (TestCategory set, TestCategory flag)
 
const char * secp256k1::test::category_name (TestCategory cat)
 

Variables

constexpr TestCategory secp256k1::test::ALL_CATEGORIES []
 
constexpr int secp256k1::test::NUM_CATEGORIES = sizeof(ALL_CATEGORIES) / sizeof(ALL_CATEGORIES[0])