UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
scalar.hpp File Reference
#include <cstdint>
#include "secp256k1/scalar.hpp"
#include "secp256k1/ecdsa.hpp"
#include "secp256k1/ct/ops.hpp"

Go to the source code of this file.

Namespaces

namespace  secp256k1
 
namespace  secp256k1::ct
 

Functions

Scalar secp256k1::ct::scalar_add (const Scalar &a, const Scalar &b) noexcept
 
Scalar secp256k1::ct::scalar_sub (const Scalar &a, const Scalar &b) noexcept
 
Scalar secp256k1::ct::scalar_neg (const Scalar &a) noexcept
 
Scalar secp256k1::ct::scalar_half (const Scalar &a) noexcept
 
Scalar secp256k1::ct::scalar_inverse (const Scalar &a) noexcept
 
void secp256k1::ct::scalar_cmov (Scalar *r, const Scalar &a, std::uint64_t mask) noexcept
 
void secp256k1::ct::scalar_cswap (Scalar *a, Scalar *b, std::uint64_t mask) noexcept
 
Scalar secp256k1::ct::scalar_select (const Scalar &a, const Scalar &b, std::uint64_t mask) noexcept
 
Scalar secp256k1::ct::scalar_cneg (const Scalar &a, std::uint64_t mask) noexcept
 
std::uint64_t secp256k1::ct::scalar_is_zero (const Scalar &a) noexcept
 
std::uint64_t secp256k1::ct::scalar_eq (const Scalar &a, const Scalar &b) noexcept
 
std::uint64_t secp256k1::ct::scalar_is_high (const Scalar &a) noexcept
 
std::uint64_t secp256k1::ct::scalar_bit (const Scalar &a, std::size_t index) noexcept
 
std::uint64_t secp256k1::ct::scalar_window (const Scalar &a, std::size_t pos, unsigned width) noexcept
 
ECDSASignature secp256k1::ct::ct_normalize_low_s (const ECDSASignature &sig) noexcept