Home
last modified time | relevance | path

Searched refs:neg_flags (Results 1 – 25 of 30) sorted by relevance

12

/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/auth/ntlmssp/
H A Dntlmssp.c70 void debug_ntlmssp_flags(uint32_t neg_flags) in debug_ntlmssp_flags() argument
74 if (neg_flags & NTLMSSP_NEGOTIATE_UNICODE) in debug_ntlmssp_flags()
76 if (neg_flags & NTLMSSP_NEGOTIATE_OEM) in debug_ntlmssp_flags()
78 if (neg_flags & NTLMSSP_REQUEST_TARGET) in debug_ntlmssp_flags()
80 if (neg_flags & NTLMSSP_NEGOTIATE_SIGN) in debug_ntlmssp_flags()
82 if (neg_flags & NTLMSSP_NEGOTIATE_SEAL) in debug_ntlmssp_flags()
86 if (neg_flags & NTLMSSP_NEGOTIATE_LM_KEY) in debug_ntlmssp_flags()
90 if (neg_flags & NTLMSSP_NEGOTIATE_NTLM) in debug_ntlmssp_flags()
104 if (neg_flags & NTLMSSP_NEGOTIATE_NTLM2) in debug_ntlmssp_flags()
108 if (neg_flags & NTLMSSP_NEGOTIATE_128) in debug_ntlmssp_flags()
[all …]
H A Dntlmssp_client.c54 gensec_ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_UNICODE; in ntlmssp_client_initial()
56 gensec_ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_OEM; in ntlmssp_client_initial()
60 gensec_ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_NTLM2; in ntlmssp_client_initial()
68 gensec_ntlmssp_state->neg_flags, in ntlmssp_client_initial()
243 debug_ntlmssp_flags(gensec_ntlmssp_state->neg_flags); in ntlmssp_client_challenge()
256 gensec_ntlmssp_state->neg_flags)) { in ntlmssp_client_challenge()
314 gensec_ntlmssp_state->neg_flags = in gensec_ntlmssp_client_start()
323 gensec_ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_56; in gensec_ntlmssp_client_start()
355 gensec_ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN; in gensec_ntlmssp_client_start()
358 gensec_ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN; in gensec_ntlmssp_client_start()
[all …]
H A Dntlmssp_server.c92 uint32_t neg_flags, uint32_t *chal_flags) in ntlmssp_target_name() argument
94 if (neg_flags & NTLMSSP_REQUEST_TARGET) { in ntlmssp_target_name()
181 uint32_t neg_flags = 0; in ntlmssp_server_negotiate() local
195 &neg_flags)) { in ntlmssp_server_negotiate()
202 debug_ntlmssp_flags(neg_flags); in ntlmssp_server_negotiate()
212 gensec_ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_NTLM2; in ntlmssp_server_negotiate()
220 chal_flags = gensec_ntlmssp_state->neg_flags; in ntlmssp_server_negotiate()
224 neg_flags, &chal_flags); in ntlmssp_server_negotiate()
804 gensec_ntlmssp_state->neg_flags = in gensec_ntlmssp_server_start()
816 gensec_ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_56; in gensec_ntlmssp_server_start()
[all …]
H A Dntlmssp_sign.c71 if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in ntlmssp_make_packet_signature()
100 if (encrypt_sig && gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_KEY_EXCH) { in ntlmssp_make_packet_signature()
185 if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in gensec_ntlmssp_check_packet()
238 if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in gensec_ntlmssp_seal_packet()
247 if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_KEY_EXCH) { in gensec_ntlmssp_seal_packet()
297 if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in gensec_ntlmssp_unseal_packet()
319 debug_ntlmssp_flags(gensec_ntlmssp_state->neg_flags); in ntlmssp_sign_init()
327 if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) in ntlmssp_sign_init()
375 if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_128) { in ntlmssp_sign_init()
377 } else if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_56) { in ntlmssp_sign_init()
H A Dntlmssp.h108 uint32_t neg_flags; /* the current state of negotiation with the NTLMSSP partner */ member
/dports/net/samba412/samba-4.12.15/auth/ntlmssp/
H A Dntlmssp_util.c70 void debug_ntlmssp_flags(uint32_t neg_flags) in debug_ntlmssp_flags() argument
73 debug_ntlmssp_flags_raw(4, neg_flags); in debug_ntlmssp_flags()
104 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_OEM; in ntlmssp_handle_neg_flags()
108 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_OEM; in ntlmssp_handle_neg_flags()
133 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_128; in ntlmssp_handle_neg_flags()
137 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_56; in ntlmssp_handle_neg_flags()
145 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_SIGN; in ntlmssp_handle_neg_flags()
149 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_SEAL; in ntlmssp_handle_neg_flags()
153 ntlmssp_state->neg_flags |= NTLMSSP_REQUEST_TARGET; in ntlmssp_handle_neg_flags()
156 missing_flags &= ~ntlmssp_state->neg_flags; in ntlmssp_handle_neg_flags()
[all …]
H A Dgensec_ntlmssp_server.c147 ntlmssp_state->neg_flags = in gensec_ntlmssp_server_start()
151 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_128; in gensec_ntlmssp_server_start()
155 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_56; in gensec_ntlmssp_server_start()
159 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_KEY_EXCH; in gensec_ntlmssp_server_start()
163 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_ALWAYS_SIGN; in gensec_ntlmssp_server_start()
167 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_NTLM2; in gensec_ntlmssp_server_start()
171 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_LM_KEY; in gensec_ntlmssp_server_start()
179 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SIGN; in gensec_ntlmssp_server_start()
180 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SEAL; in gensec_ntlmssp_server_start()
240 ntlmssp_state->neg_flags |= ntlmssp_state->required_flags; in gensec_ntlmssp_server_start()
[all …]
H A Dntlmssp_client.c75 ntlmssp_state->neg_flags, in ntlmssp_client_initial()
118 uint32_t neg_flags = 0; in gensec_ntlmssp_resume_ccache() local
154 &neg_flags); in gensec_ntlmssp_resume_ccache()
169 ntlmssp_state->neg_flags = neg_flags; in gensec_ntlmssp_resume_ccache()
171 debug_ntlmssp_flags(neg_flags); in gensec_ntlmssp_resume_ccache()
187 ntlmssp_state->conf_flags = ntlmssp_state->neg_flags; in gensec_ntlmssp_resume_ccache()
403 ntlmssp_state->neg_flags |= NTLMSSP_ANONYMOUS; in ntlmssp_client_challenge()
751 ntlmssp_state->neg_flags, in ntlmssp_client_challenge()
827 debug_ntlmssp_flags(ntlmssp_state->neg_flags); in ntlmssp_client_challenge()
896 ntlmssp_state->neg_flags = in gensec_ntlmssp_client_start()
[all …]
H A Dntlmssp_sign.c96 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in ntlmssp_make_packet_signature()
292 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in ntlmssp_check_packet()
356 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in ntlmssp_seal_packet()
471 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in ntlmssp_unseal_packet()
516 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SEAL) { in ntlmssp_wrap()
579 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SEAL) { in ntlmssp_unwrap()
624 debug_ntlmssp_flags(ntlmssp_state->neg_flags); in ntlmssp_sign_reset()
631 (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SIGN)) in ntlmssp_sign_reset()
643 ntlmssp_state->neg_flags |= NTLMSSP_NEGOTIATE_SEAL; in ntlmssp_sign_reset()
692 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_128) { in ntlmssp_sign_reset()
[all …]
H A Dntlmssp_server.c57 uint32_t neg_flags, uint32_t *chal_flags) in ntlmssp_target_name() argument
59 if (neg_flags & NTLMSSP_REQUEST_TARGET) { in ntlmssp_target_name()
94 uint32_t neg_flags = 0; in gensec_ntlmssp_server_negotiate() local
136 &neg_flags)) { in gensec_ntlmssp_server_negotiate()
142 debug_ntlmssp_flags(neg_flags); in gensec_ntlmssp_server_negotiate()
182 chal_flags = ntlmssp_state->neg_flags; in gensec_ntlmssp_server_negotiate()
187 neg_flags, &chal_flags); in gensec_ntlmssp_server_negotiate()
887 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_SIGN; in ntlmssp_server_postauth()
888 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_SEAL; in ntlmssp_server_postauth()
969 ntlmssp_state->neg_flags &= ~NTLMSSP_NEGOTIATE_LM_KEY; in ntlmssp_server_postauth()
[all …]
H A Dgensec_ntlmssp.c80 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SIGN) { in gensec_ntlmssp_have_feature()
88 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SEAL) { in gensec_ntlmssp_have_feature()
101 if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) { in gensec_ntlmssp_have_feature()
112 if (!(ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_SIGN)) { in gensec_ntlmssp_have_feature()
H A Dntlmssp_private.h55 void debug_ntlmssp_flags(uint32_t neg_flags);
57 uint32_t neg_flags, const char *name);
63 uint32_t neg_flags, uint32_t *chal_flags);
H A Dntlmssp.h105 uint32_t neg_flags; /* the current state of negotiation with the NTLMSSP partner */ member
H A Dntlmssp.c390 return gensec_ntlmssp->ntlmssp_state->neg_flags; in gensec_ntlmssp_neg_flags()
/dports/net-im/pidgin-sipe/pidgin-sipe-1.24.0/src/core/
H A Dsip-sec-ntlm.c571 compute_response(const guint32 neg_flags, in compute_response() argument
645 (void)neg_flags; in compute_response()
650 if (IS_FLAG(neg_flags, NTLMSSP_NEGOTIATE_LM_KEY)) { in compute_response()
1056 if (IS_FLAG(neg_flags, NTLMSSP_NEGOTIATE_128)) { in sip_sec_ntlm_gen_authenticate()
1057 neg_flags = neg_flags & ~NTLMSSP_NEGOTIATE_56; in sip_sec_ntlm_gen_authenticate()
1080 compute_response(neg_flags, in sip_sec_ntlm_gen_authenticate()
1112 if (IS_FLAG(neg_flags, NTLMSSP_NEGOTIATE_SIGN) || in sip_sec_ntlm_gen_authenticate()
1113 IS_FLAG(neg_flags, NTLMSSP_NEGOTIATE_SEAL)) in sip_sec_ntlm_gen_authenticate()
1218 if (IS_FLAG(neg_flags, NTLMSSP_NEGOTIATE_KEY_EXCH)) in sip_sec_ntlm_gen_authenticate()
1241 tmsg->flags = GUINT32_TO_LE(neg_flags); in sip_sec_ntlm_gen_authenticate()
[all …]
/dports/security/ADMsmb/ADMsmb_0.3/rpc_pipes/
H A Dntclientnet.c145 DOM_CHAL *clnt_chal, uint32 neg_flags, DOM_CHAL *srv_chal) in do_lsa_auth2() argument
162 credstr(clnt_chal->data), neg_flags)); in do_lsa_auth2()
166 clnt_chal, neg_flags); in do_lsa_auth2()
227 if (p && r_a.srv_flgs.neg_flags != q_a.clnt_flgs.neg_flags) in do_lsa_auth2()
231 q_a.clnt_flgs.neg_flags, r_a.srv_flgs.neg_flags)); in do_lsa_auth2()
/dports/security/openvas/openvas-scanner-21.4.3/nasl/
H A Dntlmssp.c78 int neg_flags) in ntlmssp_genauth_ntlm() argument
88 if (neg_flags & NTLMSSP_NEGOTIATE_LM_KEY) in ntlmssp_genauth_ntlm()
H A Dntlmssp.h56 int neg_flags);
H A Dnasl_crypto.c697 int neg_flags = get_int_var_by_name (lexic, "neg_flags", -1); in nasl_ntlm_response() local
699 if (!cryptkey || !password || !nt_hash || hash_len < 16 || neg_flags < 0) in nasl_ntlm_response()
713 session_key, cryptkey, nt_hash, neg_flags); in nasl_ntlm_response()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/torture/auth/
H A Dntlmssp.c55 …gensec_ntlmssp_state->neg_flags = NTLMSSP_NEGOTIATE_SIGN | NTLMSSP_NEGOTIATE_UNICODE | NTLMSSP_NEG… in torture_ntlmssp_self_check()
97 …gensec_ntlmssp_state->neg_flags = NTLMSSP_NEGOTIATE_SIGN | NTLMSSP_NEGOTIATE_UNICODE | NTLMSSP_NEG… in torture_ntlmssp_self_check()
/dports/net/samba412/samba-4.12.15/source4/torture/auth/
H A Dntlmssp.c62 …ntlmssp_state->neg_flags = NTLMSSP_NEGOTIATE_SIGN | NTLMSSP_NEGOTIATE_UNICODE | NTLMSSP_NEGOTIATE_… in torture_ntlmssp_self_check()
119 …ntlmssp_state->neg_flags = NTLMSSP_NEGOTIATE_SIGN | NTLMSSP_NEGOTIATE_UNICODE | NTLMSSP_NEGOTIATE_… in torture_ntlmssp_self_check()
/dports/math/z3/z3-z3-4.8.13/src/muz/rel/
H A Ddl_mk_explanations.cpp726 bool_vector neg_flags; in get_e_rule() local
731 neg_flags.push_back(false); in get_e_rule()
736 neg_flags.push_back(r->is_neg_tail(i)); in get_e_rule()
760 neg_flags.push_back(false); in get_e_rule()
761 SASSERT(e_tail.size()==neg_flags.size()); in get_e_rule()
763 … return m_context.get_rule_manager().mk(e_head, e_tail.size(), e_tail.data(), neg_flags.data()); in get_e_rule()
/dports/math/py-z3-solver/z3-z3-4.8.10/src/muz/rel/
H A Ddl_mk_explanations.cpp726 bool_vector neg_flags; in get_e_rule() local
731 neg_flags.push_back(false); in get_e_rule()
736 neg_flags.push_back(r->is_neg_tail(i)); in get_e_rule()
760 neg_flags.push_back(false); in get_e_rule()
761 SASSERT(e_tail.size()==neg_flags.size()); in get_e_rule()
763 … return m_context.get_rule_manager().mk(e_head, e_tail.size(), e_tail.c_ptr(), neg_flags.c_ptr()); in get_e_rule()
/dports/devel/hyperscan/hyperscan-5.4.0/tools/fuzz/
H A Dheuristocrats.py83 neg_flags = sample(allflags, randint(1, len(allflags)))
84 s = '(?' + ''.join(pos_flags) + '-' + ''.join(neg_flags) + ')'
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/utils/
H A Dntlm_auth.c583 uint32_t neg_flags; in manage_gensec_request() local
587 neg_flags = gensec_ntlmssp_state->neg_flags; in manage_gensec_request()
590 mux_printf(mux_id, "GF 0x%08x\n", neg_flags); in manage_gensec_request()

12