def aes.inv
import bend-osdev-cipher-modes@0.1.0.0/aes.bend as Aesimport Base
40# the multiplicative inverse, x^254 (0 for 0)
41def aes.inv(+x: U32) -> U32:
42 +a = aes.inv.go(6n, x, x)
43 aes.gmul(a, a)
import bend-osdev-cipher-modes@0.1.0.0/aes.bend as Aesimport Base
40# the multiplicative inverse, x^254 (0 for 0)
41def aes.inv(+x: U32) -> U32:
42 +a = aes.inv.go(6n, x, x)
43 aes.gmul(a, a)