Aes.xpow: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/aes.bend as Aes Lines 79-85 of bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/aes.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/aes.bend&start_line=79&end_line=85 import Base import bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/sbox.bend as B # x^n in GF(2^8), by doubling. def xpow(n: Nat) -> U32: match n: case 0n: 1 case 1n+p: B.xtime(xpow(p)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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/aes/sbox.bend&name=xtime