• 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
            • Definterface-hmac
            • Definterface-encrypt-block
            • Definterface-hash
              • Definterface-hash-implementation
                • Definterface-hash-fn
                • Definterface-hash-infop
                  • Make-definterface-hash-info
                  • Definterface-hash-info
                    • Change-definterface-hash-info
                    • Make-honsed-definterface-hash-info
                    • Honsed-definterface-hash-info
                    • Definterface-hash-info->output-size
                    • Definterface-hash-info->input-size-limit
                  • Definterface-hash-table
                  • Definterface-hash-macro-definition
                  • *definterface-hash-table-name*
              • Definterface-encrypt-init
              • Definterface-pbkdf2
              • Aes-256-cbc-pkcs7-interface
              • Aes-192-cbc-pkcs7-interface
              • Aes-128-cbc-pkcs7-interface
              • Aes-256-interface
              • Aes-192-interface
              • Aes-128-interface
              • Pbkdf2-hmac-sha-512-interface
              • Keccak-256-interface
              • Sha-256-interface
              • Keccak-512-interface
              • Ripemd-160-interface
              • Sha-512-interface
              • Pbkdf2-hmac-sha-256-interface
              • Hmac-sha-512-interface
              • Hmac-sha-256-interface
              • Secp256k1-interface
              • Secp256k1-ecdsa-interface
            • Sha-2
            • Keccak
            • Kdf
            • Mimc
            • Padding
            • Hmac
            • Elliptic-curves
            • 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
    • Definterface-hash-infop

    Definterface-hash-info

    Raw constructor for definterface-hash-infop structures.

    Syntax:

    (definterface-hash-info input-size-limit output-size)

    This is the lowest-level constructor for definterface-hash-infop structures. It simply conses together a structure with the specified fields.

    Note: It's generally better to use macros like make-definterface-hash-info or change-definterface-hash-info instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.

    The definterface-hash-infop structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-definterface-hash-info instead.

    Definition

    This is an ordinary constructor function introduced by std::defaggregate.

    Function: definterface-hash-info

    (defun definterface-hash-info (input-size-limit output-size)
      (declare (xargs :guard (and (maybe-posp input-size-limit)
                                  (posp output-size))))
      (cons (cons 'input-size-limit
                  input-size-limit)
            (cons (cons 'output-size output-size)
                  nil)))