Lines Matching refs:lo
58 #define ror56(hi, lo, n) \ argument
60 u32 t = lo & ((1 << n) - 1); \
61 lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \
347 u32 hi, lo; /* hi is upper 24 bits and lo lower 32, total 56 */ in fcrypt_setkey() local
350 lo = (*key++) >> 1; in fcrypt_setkey()
351 lo <<= 7; in fcrypt_setkey()
352 lo |= (*key++) >> 1; in fcrypt_setkey()
353 lo <<= 7; in fcrypt_setkey()
354 lo |= (*key++) >> 1; in fcrypt_setkey()
355 lo <<= 7; in fcrypt_setkey()
356 lo |= (*key++) >> 1; in fcrypt_setkey()
357 hi = lo >> 4; in fcrypt_setkey()
358 lo &= 0xf; in fcrypt_setkey()
359 lo <<= 7; in fcrypt_setkey()
360 lo |= (*key++) >> 1; in fcrypt_setkey()
361 lo <<= 7; in fcrypt_setkey()
362 lo |= (*key++) >> 1; in fcrypt_setkey()
363 lo <<= 7; in fcrypt_setkey()
364 lo |= (*key++) >> 1; in fcrypt_setkey()
365 lo <<= 7; in fcrypt_setkey()
366 lo |= (*key) >> 1; in fcrypt_setkey()
369 ctx->sched[0x0] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
370 ctx->sched[0x1] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
371 ctx->sched[0x2] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
372 ctx->sched[0x3] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
373 ctx->sched[0x4] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
374 ctx->sched[0x5] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
375 ctx->sched[0x6] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
376 ctx->sched[0x7] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
377 ctx->sched[0x8] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
378 ctx->sched[0x9] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
379 ctx->sched[0xa] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
380 ctx->sched[0xb] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
381 ctx->sched[0xc] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
382 ctx->sched[0xd] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
383 ctx->sched[0xe] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey()
384 ctx->sched[0xf] = cpu_to_be32(lo); in fcrypt_setkey()