def aes.inv

bend-osdev-cipher-modes@0.1.0.0 · aes.bend:40

import bend-osdev-cipher-modes@0.1.0.0/aes.bend as Aes
import 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)

Uses (3)

Used by (2)