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

Go to the source code of this file.

Namespaces

namespace  secp256k1
 
namespace  secp256k1::fast
 

Functions

void secp256k1::fast::field_cmov (FieldElement *r, const FieldElement *a, const FieldElement *b, bool flag) noexcept
 
void secp256k1::fast::field_cmovznz (FieldElement *r, const FieldElement *a, const FieldElement *b, std::uint64_t flag) noexcept
 
FieldElement secp256k1::fast::field_select (const FieldElement &a, const FieldElement &b, bool flag) noexcept
 
std::uint64_t secp256k1::fast::field_is_zero (const FieldElement &a) noexcept
 
std::uint64_t secp256k1::fast::field_eq (const FieldElement &a, const FieldElement &b) noexcept
 
void secp256k1::fast::field_cneg (FieldElement *r, const FieldElement &a, bool flag) noexcept
 
void secp256k1::fast::field_cadd (FieldElement *r, const FieldElement &a, const FieldElement &b, bool flag) noexcept
 
void secp256k1::fast::field_csub (FieldElement *r, const FieldElement &a, const FieldElement &b, bool flag) noexcept