Lines Matching refs:Kr
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()
335 t = l; l = r; r = t ^ F3(r, Km[8], Kr[8]); in __cast5_encrypt()
336 t = l; l = r; r = t ^ F1(r, Km[9], Kr[9]); in __cast5_encrypt()
337 t = l; l = r; r = t ^ F2(r, Km[10], Kr[10]); in __cast5_encrypt()
338 t = l; l = r; r = t ^ F3(r, Km[11], Kr[11]); in __cast5_encrypt()
340 t = l; l = r; r = t ^ F1(r, Km[12], Kr[12]); in __cast5_encrypt()
341 t = l; l = r; r = t ^ F2(r, Km[13], Kr[13]); in __cast5_encrypt()
342 t = l; l = r; r = t ^ F3(r, Km[14], Kr[14]); in __cast5_encrypt()
343 t = l; l = r; r = t ^ F1(r, Km[15], Kr[15]); in __cast5_encrypt()
363 u8 *Kr; in __cast5_decrypt() local
366 Kr = c->Kr; in __cast5_decrypt()
372 t = l; l = r; r = t ^ F1(r, Km[15], Kr[15]); in __cast5_decrypt()
373 t = l; l = r; r = t ^ F3(r, Km[14], Kr[14]); in __cast5_decrypt()
374 t = l; l = r; r = t ^ F2(r, Km[13], Kr[13]); in __cast5_decrypt()
375 t = l; l = r; r = t ^ F1(r, Km[12], Kr[12]); in __cast5_decrypt()
377 t = l; l = r; r = t ^ F3(r, Km[11], Kr[11]); in __cast5_decrypt()
378 t = l; l = r; r = t ^ F2(r, Km[10], Kr[10]); in __cast5_decrypt()
379 t = l; l = r; r = t ^ F1(r, Km[9], Kr[9]); in __cast5_decrypt()
380 t = l; l = r; r = t ^ F3(r, Km[8], Kr[8]); in __cast5_decrypt()
381 t = l; l = r; r = t ^ F2(r, Km[7], Kr[7]); in __cast5_decrypt()
382 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in __cast5_decrypt()
383 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in __cast5_decrypt()
384 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in __cast5_decrypt()
385 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in __cast5_decrypt()
386 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in __cast5_decrypt()
387 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in __cast5_decrypt()
388 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in __cast5_decrypt()
500 c->Kr[i] = k[i] & 0x1f; in cast5_setkey()