Lines Matching refs:session_key
473 ntlmssp_state->session_key.data,
474 ntlmssp_state->session_key.length);
629 DATA_BLOB session_key = data_blob(NULL, 0);
831 session_key = data_blob_talloc(ntlmssp_state->mem_ctx, NULL, 16);
833 sizeof(session_nonce), session_key.data);
835 dump_data_pw("NTLM2 session key:\n", session_key.data, session_key.length);
839 session_key = data_blob(NULL, 0);
844 session_key = data_blob_talloc(ntlmssp_state->mem_ctx, NULL, 16);
845 if (session_key.data == NULL) {
849 session_key.data);
853 session_key = data_blob_talloc(
855 if (session_key.data == NULL) {
860 session_key.data);
862 dump_data_pw("LM session key:\n", session_key.data,
863 session_key.length);
866 session_key = data_blob(NULL, 0);
869 session_key = user_session_key;
871 dump_data_pw("unmodified session key:\n", session_key.data, session_key.length);
873 session_key = lm_session_key;
875 dump_data_pw("unmodified session key:\n", session_key.data, session_key.length);
878 session_key = data_blob(NULL, 0);
889 } else if (!session_key.data || session_key.length != 16) {
891 (unsigned int)session_key.length));
892 ntlmssp_state->session_key = session_key;
896 session_key.data,
898 ntlmssp_state->session_key = data_blob_talloc(ntlmssp_state->mem_ctx,
905 ntlmssp_state->session_key = session_key;
909 ntlmssp_state->session_key = data_blob(NULL, 0);
910 } else if (ntlmssp_state->session_key.length) {
1030 DATA_BLOB session_key = data_blob(NULL, 0);
1099 session_key = data_blob_talloc(ntlmssp_state->mem_ctx, zeros, 16);
1118 &lm_response, &nt_response, &session_key)) {
1150 session_key = data_blob_talloc(ntlmssp_state->mem_ctx, NULL, 16);
1153 hmac_md5(user_session_key, session_nonce, sizeof(session_nonce), session_key.data);
1154 dump_data_pw("NTLM2 session key:\n", session_key.data, session_key.length);
1167 session_key = data_blob_talloc(ntlmssp_state->mem_ctx, NULL, 16);
1171 session_key.data);
1172 dump_data_pw("LM session key\n", session_key.data, session_key.length);
1174 SMBsesskeygen_ntv1(ntlmssp_state->nt_hash, NULL, session_key.data);
1175 dump_data_pw("NT session key:\n", session_key.data, session_key.length);
1190 SamOEMhash(encrypted_session_key.data, session_key.data, encrypted_session_key.length);
1194 data_blob_free(&session_key);
1195 session_key = data_blob_talloc(ntlmssp_state->mem_ctx, client_session_key, sizeof(client_session_key));
1217 ntlmssp_state->session_key = session_key;