def AdAegis128.open

bend-osdev-aead@0.1.0.0 · aegis128.bend:305

import bend-osdev-aead@0.1.0.0/aegis128.bend as Aegis128
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr

305# c (the ciphertext with its tag) opened: the plaintext, or CrTagMismatch
306# (no plaintext released)
307def AdAegis128.open(kk: AdAegisKey, nonce: B.Octets, aad: B.Octets, c: B.Octets) -> Result<&2, &2, Cr.CrError, B.Octets>:
308  ad.ae.open(kk, nonce, aad, c)

Uses (5)

Used by (6)