Home
last modified time | relevance | path

Searched refs:Kr (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/crypto/
Dcast6_generic.c131 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 …]
Dcast5_generic.c310 u8 *Kr; in __cast5_encrypt() local
313 Kr = c->Kr; in __cast5_encrypt()
329 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in __cast5_encrypt()
330 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in __cast5_encrypt()
331 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in __cast5_encrypt()
332 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in __cast5_encrypt()
333 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in __cast5_encrypt()
334 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in __cast5_encrypt()
335 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in __cast5_encrypt()
336 t = l; l = r; r = t ^ F2(r, Km[7], Kr[7]); in __cast5_encrypt()
[all …]
/Linux-v5.10/include/crypto/
Dcast5.h15 u8 Kr[16]; member
Dcast6.h15 u8 Kr[12][4]; member
/Linux-v5.10/arch/arc/mm/
Dtlbex.S257 asl r2, r3, 3 ; Kr Kw Kx 0 0 0 (GLOBAL, kernel only)
259 or.z r2, r2, r3 ; Kr Kw Kx Ur Uw Ux (!GLOBAL, user page)
264 sr r3, [ARC_REG_TLBPD1] ; paddr[31..13] | Kr Kw Kx Ur Uw Ux | C