Lines Matching refs:sched
54 __be32 sched[ROUNDS]; member
226 #define F_ENCRYPT(R, L, sched) \ argument
229 u.l = sched ^ R; \
245 F_ENCRYPT(X.r, X.l, ctx->sched[0x0]); in fcrypt_encrypt()
246 F_ENCRYPT(X.l, X.r, ctx->sched[0x1]); in fcrypt_encrypt()
247 F_ENCRYPT(X.r, X.l, ctx->sched[0x2]); in fcrypt_encrypt()
248 F_ENCRYPT(X.l, X.r, ctx->sched[0x3]); in fcrypt_encrypt()
249 F_ENCRYPT(X.r, X.l, ctx->sched[0x4]); in fcrypt_encrypt()
250 F_ENCRYPT(X.l, X.r, ctx->sched[0x5]); in fcrypt_encrypt()
251 F_ENCRYPT(X.r, X.l, ctx->sched[0x6]); in fcrypt_encrypt()
252 F_ENCRYPT(X.l, X.r, ctx->sched[0x7]); in fcrypt_encrypt()
253 F_ENCRYPT(X.r, X.l, ctx->sched[0x8]); in fcrypt_encrypt()
254 F_ENCRYPT(X.l, X.r, ctx->sched[0x9]); in fcrypt_encrypt()
255 F_ENCRYPT(X.r, X.l, ctx->sched[0xa]); in fcrypt_encrypt()
256 F_ENCRYPT(X.l, X.r, ctx->sched[0xb]); in fcrypt_encrypt()
257 F_ENCRYPT(X.r, X.l, ctx->sched[0xc]); in fcrypt_encrypt()
258 F_ENCRYPT(X.l, X.r, ctx->sched[0xd]); in fcrypt_encrypt()
259 F_ENCRYPT(X.r, X.l, ctx->sched[0xe]); in fcrypt_encrypt()
260 F_ENCRYPT(X.l, X.r, ctx->sched[0xf]); in fcrypt_encrypt()
277 F_ENCRYPT(X.l, X.r, ctx->sched[0xf]); in fcrypt_decrypt()
278 F_ENCRYPT(X.r, X.l, ctx->sched[0xe]); in fcrypt_decrypt()
279 F_ENCRYPT(X.l, X.r, ctx->sched[0xd]); in fcrypt_decrypt()
280 F_ENCRYPT(X.r, X.l, ctx->sched[0xc]); in fcrypt_decrypt()
281 F_ENCRYPT(X.l, X.r, ctx->sched[0xb]); in fcrypt_decrypt()
282 F_ENCRYPT(X.r, X.l, ctx->sched[0xa]); in fcrypt_decrypt()
283 F_ENCRYPT(X.l, X.r, ctx->sched[0x9]); in fcrypt_decrypt()
284 F_ENCRYPT(X.r, X.l, ctx->sched[0x8]); in fcrypt_decrypt()
285 F_ENCRYPT(X.l, X.r, ctx->sched[0x7]); in fcrypt_decrypt()
286 F_ENCRYPT(X.r, X.l, ctx->sched[0x6]); in fcrypt_decrypt()
287 F_ENCRYPT(X.l, X.r, ctx->sched[0x5]); in fcrypt_decrypt()
288 F_ENCRYPT(X.r, X.l, ctx->sched[0x4]); in fcrypt_decrypt()
289 F_ENCRYPT(X.l, X.r, ctx->sched[0x3]); in fcrypt_decrypt()
290 F_ENCRYPT(X.r, X.l, ctx->sched[0x2]); in fcrypt_decrypt()
291 F_ENCRYPT(X.l, X.r, ctx->sched[0x1]); in fcrypt_decrypt()
292 F_ENCRYPT(X.r, X.l, ctx->sched[0x0]); in fcrypt_decrypt()
331 ctx->sched[0x0] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
332 ctx->sched[0x1] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
333 ctx->sched[0x2] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
334 ctx->sched[0x3] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
335 ctx->sched[0x4] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
336 ctx->sched[0x5] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
337 ctx->sched[0x6] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
338 ctx->sched[0x7] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
339 ctx->sched[0x8] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
340 ctx->sched[0x9] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
341 ctx->sched[0xa] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
342 ctx->sched[0xb] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
343 ctx->sched[0xc] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
344 ctx->sched[0xd] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
345 ctx->sched[0xe] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
346 ctx->sched[0xf] = cpu_to_be32(k); in fcrypt_setkey()
372 ctx->sched[0x0] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
373 ctx->sched[0x1] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
374 ctx->sched[0x2] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
375 ctx->sched[0x3] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
376 ctx->sched[0x4] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
377 ctx->sched[0x5] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
378 ctx->sched[0x6] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
379 ctx->sched[0x7] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
380 ctx->sched[0x8] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
381 ctx->sched[0x9] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
382 ctx->sched[0xa] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
383 ctx->sched[0xb] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
384 ctx->sched[0xc] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
385 ctx->sched[0xd] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
386 ctx->sched[0xe] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
387 ctx->sched[0xf] = cpu_to_be32(lo); in fcrypt_setkey()