• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Community
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
          • R1cs
          • Interfaces
          • Sha-2
          • Keccak
          • Kdf
          • Mimc
          • Padding
          • Hmac
          • Elliptic-curves
            • Secp256k1-attachment
            • Twisted-edwards
            • Montgomery
            • Short-weierstrass-curves
            • Birational-montgomery-twisted-edwards
            • Has-square-root?-satisfies-pfield-squarep
            • Secp256k1
            • Secp256k1-domain-parameters
            • Secp256k1-types
              • Secp256k1-priv-key
              • Secp256k1-pub-key
              • Secp256k1-field
              • Secp256k1-point
                • Secp256k1-point-fix
                • Secp256k1-point-equiv
                • Make-secp256k1-point
                • Secp256k1-point->y
                • Secp256k1-point->x
                • Change-secp256k1-point
                • Secp256k1-pointp
              • Secp256k1-point-to-bytes
              • Secp256k1-point-infinityp
              • Secp256k1-point-generator
            • Pfield-squarep
            • Secp256k1-interface
            • Prime-field-extra-rules
            • Points
          • Attachments
          • Elliptic-curve-digital-signature-algorithm
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Secp256k1-types

Secp256k1-point

Fixtype of points on the secp256k1 curve.

This is a product type introduced by fty::defprod.

Fields
x — secp256k1-field
y — secp256k1-field

Points consist of two coordinates that are elements of the field. We do not require the point to be on the curve for now.

Since the point (0,0) does not satisfy the curve equation, it can be used to represent the point at infinity (see secp256k1-point-infinityp.

Subtopics

Secp256k1-point-fix
Fixing function for secp256k1-point structures.
Secp256k1-point-equiv
Basic equivalence relation for secp256k1-point structures.
Make-secp256k1-point
Basic constructor macro for secp256k1-point structures.
Secp256k1-point->y
Get the y field from a secp256k1-point.
Secp256k1-point->x
Get the x field from a secp256k1-point.
Change-secp256k1-point
Modifying constructor for secp256k1-point structures.
Secp256k1-pointp
Recognizer for secp256k1-point structures.