Lines Matching refs:dkey
807 int constlen, char *dkey, int keybytes,
873 bcopy(rawkey+(i*7), dkey+(i*8), 7);
875 /* 'dkey' is our derived key output buffer */
876 dkey[i*8+7] = (((dkey[i*8]&1)<<1) |
877 ((dkey[i*8+1]&1)<<2) |
878 ((dkey[i*8+2]&1)<<3) |
879 ((dkey[i*8+3]&1)<<4) |
880 ((dkey[i*8+4]&1)<<5) |
881 ((dkey[i*8+5]&1)<<6) |
882 ((dkey[i*8+6]&1)<<7));
885 dkey[i*8 + n] &= 0xfe;
886 dkey[i*8 + n] |= 1^parity_char(dkey[i*8 + n]);
890 bcopy(rawkey, dkey, keybytes);