|
UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
|
#include <cstdio>#include <cstdlib>#include <cstdint>#include "secp256k1/field.hpp"#include "secp256k1/scalar.hpp"#include "secp256k1/point.hpp"Go to the source code of this file.
Classes | |
| struct | secp256k1::fast::debug::DebugCounters |
Namespaces | |
| namespace | secp256k1 |
| namespace | secp256k1::fast |
| namespace | secp256k1::fast::debug |
Macros | |
| #define | SECP_ASSERT(expr) |
| #define | SECP_ASSERT_MSG(expr, msg) |
| #define | SECP_ASSERT_NORMALIZED(fe) |
| #define | SECP_ASSERT_ON_CURVE(pt) |
| #define | SECP_ASSERT_SCALAR_VALID(s) |
| #define | SECP_ASSERT_SCALAR_NONZERO(s) SECP_ASSERT_SCALAR_VALID(s) |
| #define | SECP_ASSERT_NOT_INFINITY(pt) |
| #define | SECP_ASSERT_FE_LESS_THAN_P(fe) SECP_ASSERT_NORMALIZED(fe) |
| #define | SECP_DEBUG_COUNTER_INC(name) (++secp256k1::fast::debug::counters().name ## _count) |
| #define | SECP_DEBUG_COUNTER_REPORT() secp256k1::fast::debug::counters().report() |
Functions | |
| bool | secp256k1::fast::debug::is_normalized_field_element (const FieldElement &fe) noexcept |
| bool | secp256k1::fast::debug::is_on_curve (const Point &pt) noexcept |
| bool | secp256k1::fast::debug::is_valid_scalar (const Scalar &s) noexcept |
| DebugCounters & | secp256k1::fast::debug::counters () noexcept |
| #define SECP_ASSERT | ( | expr | ) |
Definition at line 180 of file debug_invariants.hpp.
| #define SECP_ASSERT_FE_LESS_THAN_P | ( | fe | ) | SECP_ASSERT_NORMALIZED(fe) |
Definition at line 243 of file debug_invariants.hpp.
| #define SECP_ASSERT_MSG | ( | expr, | |
| msg | |||
| ) |
Definition at line 189 of file debug_invariants.hpp.
| #define SECP_ASSERT_NORMALIZED | ( | fe | ) |
Definition at line 198 of file debug_invariants.hpp.
| #define SECP_ASSERT_NOT_INFINITY | ( | pt | ) |
Definition at line 234 of file debug_invariants.hpp.
| #define SECP_ASSERT_ON_CURVE | ( | pt | ) |
Definition at line 212 of file debug_invariants.hpp.
| #define SECP_ASSERT_SCALAR_NONZERO | ( | s | ) | SECP_ASSERT_SCALAR_VALID(s) |
Definition at line 232 of file debug_invariants.hpp.
| #define SECP_ASSERT_SCALAR_VALID | ( | s | ) |
Definition at line 222 of file debug_invariants.hpp.
| #define SECP_DEBUG_COUNTER_INC | ( | name | ) | (++secp256k1::fast::debug::counters().name ## _count) |
Definition at line 245 of file debug_invariants.hpp.
| #define SECP_DEBUG_COUNTER_REPORT | ( | ) | secp256k1::fast::debug::counters().report() |
Definition at line 248 of file debug_invariants.hpp.