Lines Matching refs:session_key
46 * @param session_key The session key used. (A copy of this is taken for the cli struct)
50 static void cli_set_session_key (struct cli_state *cli, const DATA_BLOB session_key)
52 cli->user_session_key = data_blob(session_key.data, session_key.length);
64 DATA_BLOB session_key = data_blob(NULL, 0);
136 if (session_key.data) {
138 cli_set_session_key(cli, session_key);
304 DATA_BLOB session_key = data_blob(NULL, 0);
324 &lm_response, &nt_response, &session_key)) {
356 session_key = data_blob(NULL, 16);
358 E_deshash(pass, session_key.data);
359 memset(&session_key.data[8], '\0', 8);
361 SMBsesskeygen_ntv1(nt_hash, NULL, session_key.data);
365 cli_simple_set_signing(cli, session_key, lm_response);
367 cli_simple_set_signing(cli, session_key, nt_response);
434 if (session_key.data) {
436 cli_set_session_key(cli, session_key);
443 data_blob_free(&session_key);
744 DATA_BLOB key = data_blob(ntlmssp_state->session_key.data,
745 ntlmssp_state->session_key.length);
750 cli_set_session_key(cli, ntlmssp_state->session_key);