|
UltrafastSecp256k1 3.50.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 31 of file private_key.hpp.
|
defaultnoexcept |
|
inline |
Definition at line 78 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 81 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 91 of file private_key.hpp.
|
inlinestaticnoexcept |
Definition at line 44 of file private_key.hpp.
References secp256k1::fast::Scalar::parse_bytes_strict_nonzero().
|
inlinestaticnoexcept |
Definition at line 40 of file private_key.hpp.
References secp256k1::fast::Scalar::parse_bytes_strict_nonzero().
|
inlinenoexcept |
Definition at line 70 of file private_key.hpp.
References secp256k1::fast::Scalar::is_zero().
|
inlinenoexcept |
Definition at line 82 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 94 of file private_key.hpp.
|
inlinenoexcept |
Definition at line 62 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 65 of file private_key.hpp.
References secp256k1::fast::Scalar::to_bytes().
|
inlinestaticnoexcept |
Definition at line 51 of file private_key.hpp.