def aes.isub_w

bend-osdev-aes@0.1.0.0 · aes.bend:88

import bend-osdev-aes@0.1.0.0/aes.bend as Aes
import Base
import bend-collections@1.0.0.0/src/crypto/aes/types.bend as T

88# InvSubBytes: the inverse S-box on every byte
89def aes.isub_w(w: T.Quad) -> T.Quad:
90  match w:
91    case T.W{a, b, c, d}:
92      T.W{aes.isbox(a), aes.isbox(b), aes.isbox(c), aes.isbox(d)}

Uses (2)

Used by (1)