Home | History | Annotate | Download | only in http

Lines Matching refs:raw

79 void DESMakeKey(const uint8* raw, uint8* key) {
80 key[0] = DESSetKeyParity(raw[0]);
81 key[1] = DESSetKeyParity((raw[0] << 7) | (raw[1] >> 1));
82 key[2] = DESSetKeyParity((raw[1] << 6) | (raw[2] >> 2));
83 key[3] = DESSetKeyParity((raw[2] << 5) | (raw[3] >> 3));
84 key[4] = DESSetKeyParity((raw[3] << 4) | (raw[4] >> 4));
85 key[5] = DESSetKeyParity((raw[4] << 3) | (raw[5] >> 5));
86 key[6] = DESSetKeyParity((raw[5] << 2) | (raw[6] >> 6));
87 key[7] = DESSetKeyParity((raw[6] << 1));