Searched refs:DESSetKeyParity (Results 1 – 2 of 2) sorted by relevance
66 static uint8 DESSetKeyParity(uint8 x) { in DESSetKeyParity() function80 key[0] = DESSetKeyParity(raw[0]); in DESMakeKey()81 key[1] = DESSetKeyParity((raw[0] << 7) | (raw[1] >> 1)); in DESMakeKey()82 key[2] = DESSetKeyParity((raw[1] << 6) | (raw[2] >> 2)); in DESMakeKey()83 key[3] = DESSetKeyParity((raw[2] << 5) | (raw[3] >> 3)); in DESMakeKey()84 key[4] = DESSetKeyParity((raw[3] << 4) | (raw[4] >> 4)); in DESMakeKey()85 key[5] = DESSetKeyParity((raw[4] << 3) | (raw[5] >> 5)); in DESMakeKey()86 key[6] = DESSetKeyParity((raw[5] << 2) | (raw[6] >> 6)); in DESMakeKey()87 key[7] = DESSetKeyParity((raw[6] << 1)); in DESMakeKey()