Poly1305.mac: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/poly1305.bend as Poly1305 Lines 66-71 of bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/poly1305.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/poly1305.bend&start_line=66&end_line=71 import Base # The 16-byte tag of msg under key = r || s. (The match on msg only keeps a # proof's goal small while msg is unknown; both arms are the same.) def mac(+key: List<&2, U32>, +msg: List<&2, U32>) -> List<&2, U32>: match msg: case Nil{}: tag(key, []) case b <> rest: tag(key, b <> rest) 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=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/poly1305/poly1305.bend&name=tag