Authenc.ad.au.fit: def of bend-osdev-aead@0.1.0.0 Import: import bend-osdev-aead@0.1.0.0/authenc.bend as Authenc Lines 49-59 of bend-osdev-aead@0.1.0.0/authenc.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-aead@0.1.0.0/authenc.bend&start_line=49&end_line=59 import Base # the first n bytes of xs, zero-padded to n def ad.au.fit(n: Nat, xs: List<&2, U32>) -> List<&2, U32>: match n: case 0n: Nil{} case 1n+m: match xs: case Nil{}: Con{0, ad.au.fit(m, Nil{})} case Con{h, t}: Con{h, ad.au.fit(m, t)} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32