Sm4.LcSm4.encrypt: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/sm4.bend as Sm4 Lines 135-138 of bend-osdev-legacy-ciphers@0.1.0.0/sm4.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/sm4.bend&start_line=135&end_line=138 import Base import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M def LcSm4.encrypt(k: LcSm4Key, b: M.CmBlock) -> M.CmBlock: match k: case LcSm4Key{+tab, rks}: sm4.rev(sm4.rounds(tab, rks, b)) Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend&name=CmBlock https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/sm4.bend&name=LcSm4Key https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/sm4.bend&name=sm4.rev https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/sm4.bend&name=sm4.rounds