Lines Matching refs:session_key
74 lwip_sha1_update(&sha1_ctx, state->session_key, state->keylen); in mppe_rekey()
78 MEMCPY(state->session_key, sha1_digest, state->keylen); in mppe_rekey()
83 lwip_arc4_crypt(&state->arc4, state->session_key, state->keylen); in mppe_rekey()
88 state->session_key[0] = 0xd1; in mppe_rekey()
89 state->session_key[1] = 0x26; in mppe_rekey()
90 state->session_key[2] = 0x9e; in mppe_rekey()
93 lwip_arc4_setup(&state->arc4, state->session_key, state->keylen); in mppe_rekey()
119 MEMCPY(state->session_key, state->master_key, sizeof(state->master_key)); in mppe_init()
141 char skey[sizeof(state->session_key) * 2 + 1]; in mppe_init()
149 for (i = 0; i < (int)sizeof(state->session_key); i++) in mppe_init()
150 sprintf(skey + i * 2, "%02x", state->session_key[i]); in mppe_init()