|
UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
|
#include <context.hpp>
Public Member Functions | |
| std::string_view | curve_name () const noexcept |
Static Public Member Functions | |
| static CurveContext | secp256k1_default () |
| static CurveContext | with_generator (const fast::Point &custom_G, const char *label="secp256k1-custom") |
| static CurveContext | custom (const fast::Point &G, const std::array< std::uint8_t, 32 > &order_n, std::uint32_t h=1, const char *label="custom") |
Public Attributes | |
| fast::Point | generator |
| std::array< std::uint8_t, 32 > | order {} |
| std::uint32_t | cofactor = 1 |
| char | name [32] = {} |
Definition at line 39 of file context.hpp.
|
inlinenoexcept |
Definition at line 98 of file context.hpp.
References name.
|
inlinestatic |
Definition at line 84 of file context.hpp.
|
inlinestatic |
Definition at line 58 of file context.hpp.
References cofactor, generator, secp256k1::fast::Point::generator(), and order.
Referenced by with_generator().
|
inlinestatic |
Definition at line 74 of file context.hpp.
References generator, and secp256k1_default().
| std::uint32_t secp256k1::CurveContext::cofactor = 1 |
Definition at line 49 of file context.hpp.
Referenced by custom(), and secp256k1_default().
| fast::Point secp256k1::CurveContext::generator |
Definition at line 41 of file context.hpp.
Referenced by custom(), secp256k1::effective_generator(), secp256k1_default(), and with_generator().
| char secp256k1::CurveContext::name[32] = {} |
Definition at line 53 of file context.hpp.
Referenced by curve_name().
| std::array<std::uint8_t, 32> secp256k1::CurveContext::order {} |
Definition at line 46 of file context.hpp.
Referenced by custom(), and secp256k1_default().