Lines Matching defs:key
295 * Generate a key schedule from key, the least significant bit in each key byte
296 * is parity and shall be ignored. This leaves 56 significant bits in the key
297 * to scatter over the 16 key schedules. For each schedule extract the low
300 static int fcrypt_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen)
311 k = (*key++) >> 1;
313 k |= (*key++) >> 1;
315 k |= (*key++) >> 1;
317 k |= (*key++) >> 1;
319 k |= (*key++) >> 1;
321 k |= (*key++) >> 1;
323 k |= (*key++) >> 1;
325 k |= (*key) >> 1;
350 lo = (*key++) >> 1;
352 lo |= (*key++) >> 1;
354 lo |= (*key++) >> 1;
356 lo |= (*key++) >> 1;
360 lo |= (*key++) >> 1;
362 lo |= (*key++) >> 1;
364 lo |= (*key++) >> 1;
366 lo |= (*key) >> 1;