law aes256gcm_nist_rejects_changed_nonce

qasim-bend-kit@0.1.0.2 · LAWS.bend:609

import qasim-bend-kit@0.1.0.2/LAWS.bend as LAWS
import Base
import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES

609law aes256gcm_nist_rejects_changed_nonce:
610    {AES.decrypt(aes256gcm_nist_key(), [],
611        AES.Envelope{AES.Nonce{List.replicate(U32, 12n, 0), {==}, {==}},
612            [], AES.Tag{[253, 44, 170, 22, 165, 131, 46, 118, 170, 19, 44, 20, 83, 238, 218, 126], {==}, {==}}, {==}}) ==
613        Fail{AES.AuthenticationFailed{}} :
614        Result<&2, &2, AES.Error, List<&2, U32>>}

Uses (14)

Used by (0)

No other definition uses this definition.