• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • 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
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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)))