def checkpoint_changed_ciphertext_rejected
qasim-bend-kit@0.1.0.2 · proof/AES_NistTamperVectorProof.bend:108
import qasim-bend-kit@0.1.0.2/proof/AES_NistTamperVectorProof.bend as AESNistTamperVectorProof
import Base
import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES
import qasim-bend-kit@0.1.0.2/proof/AES_NistKeyScheduleProof.bend as Key
import qasim-bend-kit@0.1.0.2/proof/AES_NistObservationProof.bend as Obs
108def checkpoint_changed_ciphertext_rejected() ->
109 {Obs.decrypt_expanded(Key.words_60(), changed_ciphertext_aad(), changed_ciphertext_envelope()) == Fail{AES.AuthenticationFailed{}} : Result<&2, &2, AES.Error, List<&2, U32>>}:
110 Obs.finish_auth(Key.words_60(), changed_ciphertext_aad(), changed_ciphertext_envelope(),
111 changed_ciphertext_computed_tag(), False{}, Fail{AES.AuthenticationFailed{}},
112 checkpoint_changed_ciphertext_tag(), {==}, {==})