|
UltrafastSecp256k1 3.68.0
Ultra high-performance secp256k1 elliptic curve cryptography library
|
#include <private_key.hpp>
Public Member Functions | |
| PrivateKey () noexcept=default | |
| const fast::Scalar & | scalar () const noexcept |
| std::array< std::uint8_t, 32 > | to_bytes () const |
| bool | is_valid () const noexcept |
| ~PrivateKey () | |
| PrivateKey (const PrivateKey &other) noexcept | |
| PrivateKey & | operator= (const PrivateKey &other) noexcept |
| PrivateKey (PrivateKey &&other) noexcept | |
| PrivateKey & | operator= (PrivateKey &&other) noexcept |
Static Public Member Functions | |
| static bool | from_bytes (const std::uint8_t *bytes32, PrivateKey &out) noexcept |
| static bool | from_bytes (const std::array< std::uint8_t, 32 > &bytes, PrivateKey &out) noexcept |
| static PrivateKey | wrap (const fast::Scalar &s) noexcept |
Definition at line 32 of file private_key.hpp.
|
defaultnoexcept |
|
inline |
Definition at line 79 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 82 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 92 of file private_key.hpp.
|
inlinestaticnoexcept |
Definition at line 45 of file private_key.hpp.
References secp256k1::fast::Scalar::parse_bytes_strict_nonzero().
|
inlinestaticnoexcept |
Definition at line 41 of file private_key.hpp.
References secp256k1::fast::Scalar::parse_bytes_strict_nonzero().
|
inlinenoexcept |
Definition at line 71 of file private_key.hpp.
References secp256k1::fast::Scalar::is_zero().
|
inlinenoexcept |
Definition at line 83 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 95 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 63 of file private_key.hpp.
Referenced by secp256k1::ct::ecdsa_sign(), secp256k1::ct::ecdsa_sign_hedged(), secp256k1::ct::ecdsa_sign_hedged_verified(), secp256k1::ct::ecdsa_sign_recoverable(), secp256k1::ct::ecdsa_sign_verified(), secp256k1::ct::schnorr_keypair_create(), and secp256k1::ct::schnorr_pubkey().
|
inline |
Definition at line 66 of file private_key.hpp.
References secp256k1::fast::Scalar::to_bytes().
|
inlinestaticnoexcept |
Definition at line 52 of file private_key.hpp.