Lines Matching refs:session_key
101 unsigned char session_key[MPPE_MAX_KEY_LEN];
147 nbytes += setup_sg(&sg[2], state->session_key, state->keylen);
173 setup_sg(sg_out, state->session_key, state->keylen);
179 memcpy(state->session_key, state->sha1_digest, state->keylen);
183 state->session_key[0] = 0xd1;
184 state->session_key[1] = 0x26;
185 state->session_key[2] = 0x9e;
187 crypto_blkcipher_setkey(state->arc4, state->session_key, state->keylen);
230 memcpy(state->session_key, state->master_key,
302 char skey[sizeof(state->session_key) * 2 + 1];
310 for (i = 0; i < sizeof(state->session_key); i++)
311 sprintf(skey + i * 2, "%02x", state->session_key[i]);