Lines Matching refs:tkey
39 unsigned char tkey[MAXBLOCKSIZE];
63 zeromem(tkey, sizeof(tkey));
64 for (x = 0; x < keylen && x < (int)sizeof(tkey); x++) {
65 tkey[x] = key[x];
67 for (x = 0; x < skeylen && x < (int)sizeof(tkey); x++) {
68 tkey[x] ^= salt_key[x];
70 for (; x < keylen && x < (int)sizeof(tkey); x++) {
71 tkey[x] ^= 0x55;
74 /* now encrypt with tkey[0..keylen-1] the IV and use that as the IV */
75 if ((err = cipher_descriptor[cipher].setup(tkey, keylen, num_rounds, &f8->key)) != CRYPT_OK) {
84 zeromem(tkey, sizeof(tkey));