1 /* This is a generated file */
2 #ifndef __heimntlm_protos_h__
3 #define __heimntlm_protos_h__
12 heim_ntlm_build_ntlm1_master (
15 struct ntlm_buf */*session*/,
16 struct ntlm_buf */*master*/);
19 heim_ntlm_calculate_ntlm1 (
22 unsigned char challange[8],
23 struct ntlm_buf */*answer*/);
26 heim_ntlm_calculate_ntlm2 (
29 const char */*username*/,
30 const char */*target*/,
31 const unsigned char serverchallange[8],
32 const struct ntlm_buf */*infotarget*/,
33 unsigned char ntlmv2[16],
34 struct ntlm_buf */*answer*/);
37 heim_ntlm_calculate_ntlm2_sess (
38 const unsigned char clnt_nonce[8],
39 const unsigned char svr_chal[8],
40 const unsigned char ntlm_hash[16],
41 struct ntlm_buf */*lm*/,
42 struct ntlm_buf */*ntlm*/);
45 heim_ntlm_decode_targetinfo (
46 const struct ntlm_buf */*data*/,
48 struct ntlm_targetinfo */*ti*/);
51 heim_ntlm_decode_type1 (
52 const struct ntlm_buf */*buf*/,
53 struct ntlm_type1 */*data*/);
56 heim_ntlm_decode_type2 (
57 const struct ntlm_buf */*buf*/,
58 struct ntlm_type2 */*type2*/);
61 heim_ntlm_decode_type3 (
62 const struct ntlm_buf */*buf*/,
64 struct ntlm_type3 */*type3*/);
67 heim_ntlm_encode_targetinfo (
68 const struct ntlm_targetinfo */*ti*/,
70 struct ntlm_buf */*data*/);
73 heim_ntlm_encode_type1 (
74 const struct ntlm_type1 */*type1*/,
75 struct ntlm_buf */*data*/);
78 heim_ntlm_encode_type2 (
79 const struct ntlm_type2 */*type2*/,
80 struct ntlm_buf */*data*/);
83 heim_ntlm_encode_type3 (
84 const struct ntlm_type3 */*type3*/,
85 struct ntlm_buf */*data*/);
88 heim_ntlm_free_buf (struct ntlm_buf */*p*/);
91 heim_ntlm_free_targetinfo (struct ntlm_targetinfo */*ti*/);
94 heim_ntlm_free_type1 (struct ntlm_type1 */*data*/);
97 heim_ntlm_free_type2 (struct ntlm_type2 */*data*/);
100 heim_ntlm_free_type3 (struct ntlm_type3 */*data*/);
104 const char */*password*/,
105 struct ntlm_buf */*key*/);
108 heim_ntlm_ntlmv2_key (
111 const char */*username*/,
112 const char */*target*/,
113 unsigned char ntlmv2[16]);
116 heim_ntlm_verify_ntlm2 (
119 const char */*username*/,
120 const char */*target*/,
122 const unsigned char serverchallange[8],
123 const struct ntlm_buf */*answer*/,
124 struct ntlm_buf */*infotarget*/,
125 unsigned char ntlmv2[16]);
131 #endif /* __heimntlm_protos_h__ */