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

Go to the source code of this file.

Namespaces

namespace  secp256k1
 
namespace  secp256k1::ct
 

Typedefs

using secp256k1::ct::FieldElement = secp256k1::fast::FieldElement
 

Functions

FieldElement secp256k1::ct::field_add (const FieldElement &a, const FieldElement &b) noexcept
 
FieldElement secp256k1::ct::field_sub (const FieldElement &a, const FieldElement &b) noexcept
 
FieldElement secp256k1::ct::field_mul (const FieldElement &a, const FieldElement &b) noexcept
 
FieldElement secp256k1::ct::field_sqr (const FieldElement &a) noexcept
 
FieldElement secp256k1::ct::field_neg (const FieldElement &a) noexcept
 
FieldElement secp256k1::ct::field_half (const FieldElement &a) noexcept
 
FieldElement secp256k1::ct::field_inv (const FieldElement &a) noexcept
 
void secp256k1::ct::field_cmov (FieldElement *r, const FieldElement &a, std::uint64_t mask) noexcept
 
void secp256k1::ct::field_cswap (FieldElement *a, FieldElement *b, std::uint64_t mask) noexcept
 
FieldElement secp256k1::ct::field_select (const FieldElement &a, const FieldElement &b, std::uint64_t mask) noexcept
 
FieldElement secp256k1::ct::field_cneg (const FieldElement &a, std::uint64_t mask) noexcept
 
std::uint64_t secp256k1::ct::field_is_zero (const FieldElement &a) noexcept
 
std::uint64_t secp256k1::ct::field_eq (const FieldElement &a, const FieldElement &b) noexcept
 
FieldElement secp256k1::ct::field_normalize (const FieldElement &a) noexcept