def checkpoint_changed_nonce_rejected
qasim-bend-kit@0.1.0.2 · proof/AES_NistTamperVectorProof.bend:83
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
83def checkpoint_changed_nonce_rejected() ->
84 {Obs.decrypt_expanded(Key.words_60(), changed_nonce_aad(), changed_nonce_envelope()) == Fail{AES.AuthenticationFailed{}} : Result<&2, &2, AES.Error, List<&2, U32>>}:
85 Obs.finish_auth(Key.words_60(), changed_nonce_aad(), changed_nonce_envelope(),
86 changed_nonce_computed_tag(), False{}, Fail{AES.AuthenticationFailed{}},
87 checkpoint_changed_nonce_tag(), {==}, {==})