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

Go to the source code of this file.

Namespaces

namespace  secp256k1
 
namespace  secp256k1::ct
 

Macros

#define SECP256K1_CLASSIFY(ptr, len)   ((void)(ptr), (void)(len))
 
#define SECP256K1_DECLASSIFY(ptr, len)   ((void)(ptr), (void)(len))
 
#define SECP256K1_CT_NO_STACK_PROTECTOR
 

Functions

void secp256k1::ct::value_barrier (std::uint64_t &v) noexcept
 
void secp256k1::ct::value_barrier (std::uint32_t &v) noexcept
 
SECP256K1_CT_NO_STACK_PROTECTOR std::uint64_t secp256k1::ct::is_zero_mask (std::uint64_t v) noexcept
 
std::uint64_t secp256k1::ct::is_nonzero_mask (std::uint64_t v) noexcept
 
std::uint64_t secp256k1::ct::eq_mask (std::uint64_t a, std::uint64_t b) noexcept
 
SECP256K1_CT_NO_STACK_PROTECTOR std::uint64_t secp256k1::ct::bool_to_mask (bool flag) noexcept
 
std::uint64_t secp256k1::ct::lt_mask (std::uint64_t a, std::uint64_t b) noexcept
 
void secp256k1::ct::cmov64 (std::uint64_t *dst, const std::uint64_t *src, std::uint64_t mask) noexcept
 
void secp256k1::ct::cmov256 (std::uint64_t dst[4], const std::uint64_t src[4], std::uint64_t mask) noexcept
 
void secp256k1::ct::cswap256 (std::uint64_t a[4], std::uint64_t b[4], std::uint64_t mask) noexcept
 
std::uint64_t secp256k1::ct::ct_select (std::uint64_t a, std::uint64_t b, std::uint64_t mask) noexcept
 
void secp256k1::ct::ct_lookup (const void *table, std::size_t count, std::size_t stride, std::size_t index, void *out) noexcept
 
void secp256k1::ct::ct_lookup_256 (const std::uint64_t table[][4], std::size_t count, std::size_t index, std::uint64_t out[4]) noexcept
 

Macro Definition Documentation

◆ SECP256K1_CLASSIFY

#define SECP256K1_CLASSIFY (   ptr,
  len 
)    ((void)(ptr), (void)(len))

Definition at line 52 of file ops.hpp.

◆ SECP256K1_CT_NO_STACK_PROTECTOR

#define SECP256K1_CT_NO_STACK_PROTECTOR

Definition at line 59 of file ops.hpp.

◆ SECP256K1_DECLASSIFY

#define SECP256K1_DECLASSIFY (   ptr,
  len 
)    ((void)(ptr), (void)(len))

Definition at line 53 of file ops.hpp.