def AdSeqiv.key
import bend-osdev-aead@0.1.0.0/seqiv.bend as Seqivimport 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
54# The key from raw key material: the AEAD's key, then an ivlen-byte salt
55def AdSeqiv.key(~KA: Data, ~akey: B.Octets -> Result<&2, &2, Cr.CrError, KA>, ~ivlen: Nat, o: B.Octets) -> Result<&2, &2, Cr.CrError, AdSeqivKey<KA>>:
56 ad.sq.key(~KA, ~akey, ivlen, o)