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_decode_targetinfo (
38 struct ntlm_buf */*data*/,
40 struct ntlm_targetinfo */*ti*/);
43 heim_ntlm_decode_type1 (
44 const struct ntlm_buf */*buf*/,
45 struct ntlm_type1 */*data*/);
48 heim_ntlm_decode_type2 (
49 const struct ntlm_buf */*buf*/,
50 struct ntlm_type2 */*type2*/);
53 heim_ntlm_decode_type3 (
54 const struct ntlm_buf */*buf*/,
56 struct ntlm_type3 */*type3*/);
59 heim_ntlm_encode_targetinfo (
60 struct ntlm_targetinfo */*ti*/,
62 struct ntlm_buf */*data*/);
65 heim_ntlm_encode_type1 (
66 const struct ntlm_type1 */*type1*/,
67 struct ntlm_buf */*data*/);
70 heim_ntlm_encode_type2 (
71 struct ntlm_type2 */*type2*/,
72 struct ntlm_buf */*data*/);
75 heim_ntlm_encode_type3 (
76 struct ntlm_type3 */*type3*/,
77 struct ntlm_buf */*data*/);
80 heim_ntlm_free_targetinfo (struct ntlm_targetinfo */*ti*/);
83 heim_ntlm_free_type1 (struct ntlm_type1 */*data*/);
86 heim_ntlm_free_type2 (struct ntlm_type2 */*data*/);
89 heim_ntlm_free_type3 (struct ntlm_type3 */*data*/);
93 const char */*password*/,
94 struct ntlm_buf */*key*/);
97 heim_ntlm_ntlmv2_key (
100 const char */*username*/,
101 const char */*target*/,
102 unsigned char ntlmv2[16]);
105 heim_ntlm_verify_ntlm2 (
108 const char */*username*/,
109 const char */*target*/,
111 const unsigned char serverchallange[8],
112 const struct ntlm_buf */*answer*/,
113 struct ntlm_buf */*infotarget*/,
114 unsigned char ntlmv2[16]);
120 #endif /* __heimntlm_protos_h__ */