Ccm.ccm.ai: def of bend-osdev-cipher-modes@0.1.0.0 Import: import bend-osdev-cipher-modes@0.1.0.0/ccm.bend as Ccm Lines 62-64 of bend-osdev-cipher-modes@0.1.0.0/ccm.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-cipher-modes@0.1.0.0/ccm.bend&start_line=62&end_line=64 import Base import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M # A_i = A_0 with counter i (i < 2^(8L), so it stays in the counter field) def ccm.ai(a0: M.CmBlock, i: U32) -> M.CmBlock: M.CmBlock.xor(a0, M.CmBlock{0, 0, 0, i}) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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-cipher-modes@0.1.0.0/cipher_modes.bend&name=CmBlock.xor