Echainiv.ad.ec.open.go: def of bend-osdev-aead@0.1.0.0 Import: import bend-osdev-aead@0.1.0.0/echainiv.bend as Echainiv Lines 65-70 of bend-osdev-aead@0.1.0.0/echainiv.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-aead@0.1.0.0/echainiv.bend&start_line=65&end_line=70 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 def ad.ec.open.go(~KA: Data, ~KC: Data, ~open: KA -> B.Octets -> B.Octets -> B.Octets -> Result<&2, &2, Cr.CrError, B.Octets>, +k: AdEchainivKey, aad: B.Octets, +n: Nat, s: Maybe<&2, B.OctetsSplit>) -> Result<&2, &2, Cr.CrError, B.Octets>: match s: case None{}: Fail{Cr.CrTooShort{n}} case Some{B.OctetsSplit{+iv, c}}: open(ad.ec.ka(~KA, ~KC, k), iv, B.Octets.append(aad, iv), c) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-aead@0.1.0.0/echainiv.bend&name=AdEchainivKey https://jend.leeeet.dev/definition.txt?path=bend-osdev-aead@0.1.0.0/echainiv.bend&name=ad.ec.ka https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=OctetsSplit https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/crypto.bend&name=CrError