Hmac.cr.hmac.pad: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/hmac.bend as Hmac Lines 28-33 of bend-osdev-crypto@0.1.0.0/hmac.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/hmac.bend&start_line=28&end_line=33 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B def cr.hmac.pad(xs: List<&2, U32>, +c: U32) -> List<&2, U32>: match xs: case Nil{}: Nil{} case Con{x, t}: Con{B.byte(U32.xor(x, c)), cr.hmac.pad(t, c)} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.xor https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=byte