def checkpoint_changed_aad_rejected

qasim-bend-kit@0.1.0.2 · proof/AES_NistTamperVectorProof.bend:33

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

33def checkpoint_changed_aad_rejected() ->
34    {Obs.decrypt_expanded(Key.words_60(), changed_aad_aad(), changed_aad_envelope()) == Fail{AES.AuthenticationFailed{}} : Result<&2, &2, AES.Error, List<&2, U32>>}:
35    Obs.finish_auth(Key.words_60(), changed_aad_aad(), changed_aad_envelope(),
36        changed_aad_computed_tag(), False{}, Fail{AES.AuthenticationFailed{}},
37        checkpoint_changed_aad_tag(), {==}, {==})

Uses (12)

Used by (1)