Searched refs:Kr (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/crypto/ |
D | cast6_generic.c | 131 c->Kr[i][0] = key[0] & 0x1f; in __cast6_setkey() 132 c->Kr[i][1] = key[2] & 0x1f; in __cast6_setkey() 133 c->Kr[i][2] = key[4] & 0x1f; in __cast6_setkey() 134 c->Kr[i][3] = key[6] & 0x1f; in __cast6_setkey() 153 static inline void Q(u32 *block, const u8 *Kr, const u32 *Km) in Q() argument 156 block[2] ^= F1(block[3], Kr[0], Km[0]); in Q() 157 block[1] ^= F2(block[2], Kr[1], Km[1]); in Q() 158 block[0] ^= F3(block[1], Kr[2], Km[2]); in Q() 159 block[3] ^= F1(block[0], Kr[3], Km[3]); in Q() 163 static inline void QBAR(u32 *block, const u8 *Kr, const u32 *Km) in QBAR() argument [all …]
|
D | cast5_generic.c | 308 u8 *Kr; in __cast5_encrypt() local 311 Kr = c->Kr; in __cast5_encrypt() 327 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in __cast5_encrypt() 328 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in __cast5_encrypt() 329 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in __cast5_encrypt() 330 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in __cast5_encrypt() 331 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in __cast5_encrypt() 332 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in __cast5_encrypt() 333 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in __cast5_encrypt() 334 t = l; l = r; r = t ^ F2(r, Km[7], Kr[7]); in __cast5_encrypt() [all …]
|
/Linux-v6.1/include/crypto/ |
D | cast5.h | 15 u8 Kr[16]; member
|
D | cast6.h | 15 u8 Kr[12][4]; member
|