Skip to main content

Module aead_decrypt

Module aead_decrypt 

Source
Expand description

AEAD decryption event handler for the Miden VM.

This module provides an event handler for decrypting AEAD ciphertext using non-deterministic advice. When the VM emits an AEAD_DECRYPT_EVENT, this handler reads the ciphertext from memory, performs decryption using the AEAD-Poseidon2 scheme, and pushes the plaintext onto the advice stack for the MASM decrypt procedure to load.

Constants§

AEAD_DECRYPT_EVENT_NAME
Qualified event name for the AEAD decrypt event.

Functions§

handle_aead_decrypt
Event handler for AEAD decryption.