bend-osdev-legacy-ciphers
Search uses release 0.1.0.0 · 970 definitions
Definitions (970)
- def cast5.f
- type LcCastKTabsS5 ..
- def cast.ktables
- def cast.ksS_j[byte i of a], j = 5 to 8
- def cast.wthe big-endian word of bytes i ..
- def cast.bytesa word's four bytes, most significant first, in front of rest
- def cast.mixa word of z (or x) from a word of x (or z): w ^ S5[a] ^ S6[b] ^ S7[c] ^ S8[d] ^ Sj[e], bytes a ..
- def cast.zz from x (the four lines z0z1z2z3 = ...
- def cast.xx from z (the four lines x0x1x2x3 = ...)
- def cast.suba subkey: S5[a] ^ S6[b] ^ S7[c] ^ S8[d] ^ Sj[e] on the bytes of v
- def cast.set1the four subkey sets of 2.4.1 (K1 ..
- def cast.set2
- def cast.set3
- def cast.set4
- type LcCastHalfsixteen subkeys from x, and the x after them
- def cast.half
- def cast.subkeys.rest
- def cast.subkeys.of
- def cast.subkeysK1 ..
- def cast5.ty.of
- def cast5.tythe round type of round i (0-based): 1, 2, 3, 1, 2, 3, ...
- def cast5.rounds.pick
- def cast5.roundsthe number of rounds for a key of n bytes: 12 up to 80 bits, else 16
- def cast5.rksthe round keys of n rounds from round i, Km from kms and Kr from krs
- type LcCast5KeyA CAST-128 key: the round keys (opaque; built by LcCast5.key)
- def cast5.key
- def cast5.key.pick
- def LcCast5.keya key of 5 to 16 bytes (40 to 128 bits); up to 10 bytes, 12 rounds
- def LcCast5.encrypt
- def LcCast5.decrypt
- type LcCast6KsA quad-round's key set (internal)
- def c6.scthe four steps of Q, each undone by itself
- def c6.sb
- def c6.sa
- def c6.sd
- def c6.qQ and QBAR
- def c6.qbar
- type LcCast6OpThe steps of the cipher (internal): Q (fwd True) or QBAR with a key set
- def c6.op
- def c6.unop
- def c6.run
- def c6.unrun
- def c6.setword i of xs replaced by v
- type LcCast6KstKAPPA (the eight words A ..
- def c6.wone step of an octave: word dst ^= f_ty(word src), with the next Tm, Tr
- def c6.octavethe forward octave W
- def c6.ksthe key set read from KAPPA: Km = H, F, D, B and Kr = A, C, E, G (low 5 bits)
- def c6.ks.ofthe key set read from KAPPA after an octave pair
- def c6.opsthe steps from quad-round i on: Q up to i = 5, then QBAR
- type LcCast6KeyA CAST-256 key: the steps of the cipher (opaque; built by LcCast6.key)
- def c6.wordsthe eight key words of a key padded to 32 bytes
- def c6.key.pick
- def LcCast6.keya key of 16, 20, 24, 28 or 32 bytes
- def LcCast6.encrypt
- def LcCast6.decrypt