• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • 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-generator-y
              • Secp256k1-generator-x
              • Secp256k1-b
              • Secp256k1-a
              • Secp256k1-cofactor
            • Secp256k1-types
            • 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
  • Elliptic-curves

Secp256k1-domain-parameters

Domain parameters of the secp256k1 elliptic curve.

The secp256k1 elliptic curve is specified in Standards for Efficient Cryptography 1 (SEC 1) and Standards for Efficient Cryptography 2 (SEC 2).

Here we introduce the domain parameters (p,a,b,G,n,h) of the curve, as nullary functions. For the generator point G, we introduce two nullary functions (for the x and y coordinates), to facilitate the use of different representations of points. All these nullary functions have values that are natural numbers.

Subtopics

Secp256k1-generator-y
The y coordinate of the generator G of the group of the curve.
Secp256k1-generator-x
The x coordinate of the generator G of the group of the curve.
Secp256k1-b
The coefficient b of the curve.
Secp256k1-a
The coefficient a of the curve.
Secp256k1-cofactor
The cofactor h of the group of the curve.