bend-osdev-legacy-ciphers
Search uses release 0.1.0.0 · 970 definitions
Definitions (970)
- def tf.q0.t
- def tf.q1.t
- def tf.tentry x of table i (0 to 3) of ts
- def tf.ror4a 4-bit value rotated right by one bit
- def tf.q.half
- def tf.q.go
- def tf.q.rawq(x) from its tables
- def tf.gen
- def tf.q0
- def tf.q1
- type LcTfTabsThe tables, built once per key (internal): q0, q1 and the MDS columns
- def tf.q
- def tf.xt
- def tf.gmul.go
- def tf.gmul
- def tf.mds.m
- def tf.mds.col
- def tf.mds0
- def tf.mds1
- def tf.mds2
- def tf.mds3
- def tf.tables
- def tf.mds
- def tf.stagebyte i of x through q (q1 if p_i), then XOR byte i of l
- def tf.h2the stages every key length shares: with L_1, with L_0, then q alone
- def tf.h3
- def tf.h4
- def tf.hh(X, L) for L = L_0 ..
- def tf.f
- def tf.f0
- def tf.f1
- type LcTfOpThe steps of the cipher (internal)
- def tf.op
- def tf.unopthe step undone
- def tf.run
- def tf.unrun
- def tf.wordsthe little-endian words of the key bytes xs, every other one from word i
- def tf.rsThe RS matrix (section 4.3), over GF(2^8) modulo x^8 + x^6 + x^3 + x^2 + 1
- def tf.rs.rowrow r of RS times the 8 key bytes from byte j
- def tf.s_wordS_i: RS times key bytes 8i ..
- def tf.svecS = (S_(k-1), .., S_0), the k words of the key-dependent S-boxes
- def tf.kpairK_(2i) and K_(2i+1) as an LcBlock64
- def tf.roundsthe rounds' steps from round r, with the pairs K_(2r+8), K_(2r+9) in ks
- def tf.kpairs
- def tf.white.le
- def tf.append
- def tf.opsthe steps from the subkey pairs (K_0, K_1) ..
- type LcTwofishKeyA Twofish key: the steps of the cipher (opaque; built by LcTwofish.key)
- def tf.keythe key from k = 2, 3 or 4 64-bit words of key bytes xs
- def tf.key.pick
- def LcTwofish.keya 16-, 24- or 32-byte key (Twofish-128, -192, -256, by its length)
- def tf.pad.pickthe key padded with zero bytes to 16, 24 or 32 bytes (section 4.3: keys shorter than 256 bits are padded with zeros to the next defined length)
- def LcTwofish.key_paddeda key of 1 to 32 bytes, zero-padded as the specification says
- def LcTwofish.encrypt
- def LcTwofish.decrypt