• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
        • Riscv
        • Bitcoin
        • Zcash
        • Yul
        • ACL2-programming-language
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
          • R1cs
          • Interfaces
            • Definterface-hmac
            • Definterface-encrypt-block
              • Definterface-encrypt-block-fn
              • Definterface-encrypt-block-macro-definition
              • Definterface-hash
              • 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
            • Primes
            • Elliptic-curve-digital-signature-algorithm
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Definterface-encrypt-block

    Definterface-encrypt-block-macro-definition

    Definition of the definterface-encrypt-block macro.

    Macro: definterface-encrypt-block

    (defmacro definterface-encrypt-block
              (name &key key-size block-size
                    name-encrypt-bits name-decrypt-bits
                    name-encrypt-bytes name-decrypt-bytes
                    topic parents short long)
     (cons
      'make-event
      (cons
       (cons
        'definterface-encrypt-block-fn
        (cons
         (cons 'quote (cons name 'nil))
         (cons
          key-size
          (cons
           block-size
           (cons
            (cons 'quote
                  (cons name-encrypt-bits 'nil))
            (cons
             (cons 'quote
                   (cons name-decrypt-bits 'nil))
             (cons
               (cons 'quote
                     (cons name-encrypt-bytes 'nil))
               (cons (cons 'quote
                           (cons name-decrypt-bytes 'nil))
                     (cons (cons 'quote (cons topic 'nil))
                           (cons (cons 'quote (cons parents 'nil))
                                 (cons short (cons long 'nil))))))))))))
       'nil)))