|
| FieldElement | field_add (const FieldElement &a, const FieldElement &b) noexcept |
| |
| FieldElement | field_sub (const FieldElement &a, const FieldElement &b) noexcept |
| |
| FieldElement | field_mul (const FieldElement &a, const FieldElement &b) noexcept |
| |
| FieldElement | field_sqr (const FieldElement &a) noexcept |
| |
| FieldElement | field_neg (const FieldElement &a) noexcept |
| |
| FieldElement | field_half (const FieldElement &a) noexcept |
| |
| FieldElement | field_inv (const FieldElement &a) noexcept |
| |
| void | field_cmov (FieldElement *r, const FieldElement &a, std::uint64_t mask) noexcept |
| |
| void | field_cswap (FieldElement *a, FieldElement *b, std::uint64_t mask) noexcept |
| |
| FieldElement | field_select (const FieldElement &a, const FieldElement &b, std::uint64_t mask) noexcept |
| |
| FieldElement | field_cneg (const FieldElement &a, std::uint64_t mask) noexcept |
| |
| std::uint64_t | field_is_zero (const FieldElement &a) noexcept |
| |
| std::uint64_t | field_eq (const FieldElement &a, const FieldElement &b) noexcept |
| |
| FieldElement | field_normalize (const FieldElement &a) noexcept |
| |
| void | value_barrier (std::uint64_t &v) noexcept |
| |
| void | value_barrier (std::uint32_t &v) noexcept |
| |
| SECP256K1_CT_NO_STACK_PROTECTOR std::uint64_t | is_zero_mask (std::uint64_t v) noexcept |
| |
| std::uint64_t | is_nonzero_mask (std::uint64_t v) noexcept |
| |
| std::uint64_t | eq_mask (std::uint64_t a, std::uint64_t b) noexcept |
| |
| SECP256K1_CT_NO_STACK_PROTECTOR std::uint64_t | bool_to_mask (bool flag) noexcept |
| |
| std::uint64_t | lt_mask (std::uint64_t a, std::uint64_t b) noexcept |
| |
| void | cmov64 (std::uint64_t *dst, const std::uint64_t *src, std::uint64_t mask) noexcept |
| |
| void | cmov256 (std::uint64_t dst[4], const std::uint64_t src[4], std::uint64_t mask) noexcept |
| |
| void | cswap256 (std::uint64_t a[4], std::uint64_t b[4], std::uint64_t mask) noexcept |
| |
| std::uint64_t | ct_select (std::uint64_t a, std::uint64_t b, std::uint64_t mask) noexcept |
| |
| void | ct_lookup (const void *table, std::size_t count, std::size_t stride, std::size_t index, void *out) noexcept |
| |
| void | ct_lookup_256 (const std::uint64_t table[][4], std::size_t count, std::size_t index, std::uint64_t out[4]) noexcept |
| |
| CTJacobianPoint | point_add_complete (const CTJacobianPoint &p, const CTJacobianPoint &q) noexcept |
| |
| CTJacobianPoint | point_add_mixed_complete (const CTJacobianPoint &p, const CTAffinePoint &q) noexcept |
| |
| CTJacobianPoint | point_dbl (const CTJacobianPoint &p) noexcept |
| |
| CTJacobianPoint | point_add_mixed_unified (const CTJacobianPoint &a, const CTAffinePoint &b) noexcept |
| |
| void | point_add_mixed_unified_into (CTJacobianPoint *out, const CTJacobianPoint &a, const CTAffinePoint &b) noexcept |
| |
| CTJacobianPoint | point_neg (const CTJacobianPoint &p) noexcept |
| |
| void | point_cmov (CTJacobianPoint *r, const CTJacobianPoint &a, std::uint64_t mask) noexcept |
| |
| CTJacobianPoint | point_select (const CTJacobianPoint &a, const CTJacobianPoint &b, std::uint64_t mask) noexcept |
| |
| CTJacobianPoint | point_table_lookup (const CTJacobianPoint *table, std::size_t table_size, std::size_t index) noexcept |
| |
| CTAffinePoint | affine_table_lookup (const CTAffinePoint *table, std::size_t table_size, std::size_t index) noexcept |
| |
| CTAffinePoint | affine_table_lookup_signed (const CTAffinePoint *table, std::size_t table_size, std::uint64_t n, unsigned group_size) noexcept |
| |
| void | affine_table_lookup_signed_into (CTAffinePoint *out, const CTAffinePoint *table, std::size_t table_size, std::uint64_t n, unsigned group_size) noexcept |
| |
| void | point_dbl_n_inplace (CTJacobianPoint *r, unsigned n) noexcept |
| |
| CTJacobianPoint | point_dbl_n (const CTJacobianPoint &p, unsigned n) noexcept |
| |
| void | affine_cmov (CTAffinePoint *r, const CTAffinePoint &a, std::uint64_t mask) noexcept |
| |
| Point | scalar_mul (const Point &p, const Scalar &k) noexcept |
| |
| Point | generator_mul (const Scalar &k) noexcept |
| |
| void | init_generator_table () noexcept |
| |
| CTJacobianPoint | point_endomorphism (const CTJacobianPoint &p) noexcept |
| |
| CTAffinePoint | affine_endomorphism (const CTAffinePoint &p) noexcept |
| |
| CTAffinePoint | affine_neg (const CTAffinePoint &p) noexcept |
| |
| CTGLVDecomposition | ct_glv_decompose (const Scalar &k) noexcept |
| |
| std::uint64_t | point_is_on_curve (const Point &p) noexcept |
| |
| std::uint64_t | point_eq (const Point &a, const Point &b) noexcept |
| |
| Scalar | scalar_add (const Scalar &a, const Scalar &b) noexcept |
| |
| Scalar | scalar_sub (const Scalar &a, const Scalar &b) noexcept |
| |
| Scalar | scalar_neg (const Scalar &a) noexcept |
| |
| Scalar | scalar_half (const Scalar &a) noexcept |
| |
| Scalar | scalar_inverse (const Scalar &a) noexcept |
| |
| void | scalar_cmov (Scalar *r, const Scalar &a, std::uint64_t mask) noexcept |
| |
| void | scalar_cswap (Scalar *a, Scalar *b, std::uint64_t mask) noexcept |
| |
| Scalar | scalar_select (const Scalar &a, const Scalar &b, std::uint64_t mask) noexcept |
| |
| Scalar | scalar_cneg (const Scalar &a, std::uint64_t mask) noexcept |
| |
| std::uint64_t | scalar_is_zero (const Scalar &a) noexcept |
| |
| std::uint64_t | scalar_eq (const Scalar &a, const Scalar &b) noexcept |
| |
| std::uint64_t | scalar_is_high (const Scalar &a) noexcept |
| |
| std::uint64_t | scalar_bit (const Scalar &a, std::size_t index) noexcept |
| |
| std::uint64_t | scalar_window (const Scalar &a, std::size_t pos, unsigned width) noexcept |
| |
| ECDSASignature | ct_normalize_low_s (const ECDSASignature &sig) noexcept |
| |
| ECDSASignature | ecdsa_sign (const std::array< std::uint8_t, 32 > &msg_hash, const fast::Scalar &private_key) |
| |
| ECDSASignature | ecdsa_sign_verified (const std::array< std::uint8_t, 32 > &msg_hash, const fast::Scalar &private_key) |
| |
| ECDSASignature | ecdsa_sign_hedged (const std::array< std::uint8_t, 32 > &msg_hash, const fast::Scalar &private_key, const std::array< std::uint8_t, 32 > &aux_rand) |
| |
| ECDSASignature | ecdsa_sign_hedged_verified (const std::array< std::uint8_t, 32 > &msg_hash, const fast::Scalar &private_key, const std::array< std::uint8_t, 32 > &aux_rand) |
| |
| RecoverableSignature | ecdsa_sign_recoverable (const std::array< std::uint8_t, 32 > &msg_hash, const fast::Scalar &private_key) |
| |
| RecoverableSignature | ecdsa_sign_recoverable (const std::array< std::uint8_t, 32 > &msg_hash, const PrivateKey &private_key) |
| |
| ECDSASignature | ecdsa_sign (const std::array< std::uint8_t, 32 > &msg_hash, const PrivateKey &private_key) |
| |
| ECDSASignature | ecdsa_sign_verified (const std::array< std::uint8_t, 32 > &msg_hash, const PrivateKey &private_key) |
| |
| ECDSASignature | ecdsa_sign_hedged (const std::array< std::uint8_t, 32 > &msg_hash, const PrivateKey &private_key, const std::array< std::uint8_t, 32 > &aux_rand) |
| |
| ECDSASignature | ecdsa_sign_hedged_verified (const std::array< std::uint8_t, 32 > &msg_hash, const PrivateKey &private_key, const std::array< std::uint8_t, 32 > &aux_rand) |
| |
| std::array< std::uint8_t, 32 > | schnorr_pubkey (const fast::Scalar &private_key) |
| |
| std::array< std::uint8_t, 32 > | schnorr_pubkey (const PrivateKey &pk) |
| |
| SchnorrKeypair | schnorr_keypair_create (const fast::Scalar &private_key) |
| |
| SchnorrKeypair | schnorr_keypair_create (const PrivateKey &pk) |
| |
| SchnorrSignature | schnorr_sign (const SchnorrKeypair &kp, const std::array< std::uint8_t, 32 > &msg, const std::array< std::uint8_t, 32 > &aux_rand) |
| |
| SchnorrSignature | schnorr_sign_verified (const SchnorrKeypair &kp, const std::array< std::uint8_t, 32 > &msg, const std::array< std::uint8_t, 32 > &aux_rand) |
| |
| bool | ct_equal (const void *a, const void *b, std::size_t len) noexcept |
| |
| template<std::size_t N> |
| bool | ct_equal (const std::array< std::uint8_t, N > &a, const std::array< std::uint8_t, N > &b) noexcept |
| |
| void | ct_memcpy_if (void *dst, const void *src, std::size_t len, bool flag) noexcept |
| |
| void | ct_memswap_if (void *a, void *b, std::size_t len, bool flag) noexcept |
| |
| bool | ct_is_zero (const void *data, std::size_t len) noexcept |
| |
| template<std::size_t N> |
| bool | ct_is_zero (const std::array< std::uint8_t, N > &data) noexcept |
| |
| void | ct_memzero (void *data, std::size_t len) noexcept |
| |
| std::uint8_t | ct_select_byte (std::uint8_t a, std::uint8_t b, bool flag) noexcept |
| |
| int | ct_compare (const void *a, const void *b, std::size_t len) noexcept |
| |