No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / lib / ntlm / heimntlm-protos.h
blobbc64791b4396a00cd5221ee7b6937e5656bf9cb9
1 /* This is a generated file */
2 #ifndef __heimntlm_protos_h__
3 #define __heimntlm_protos_h__
5 #include <stdarg.h>
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
11 int
12 heim_ntlm_build_ntlm1_master (
13 void */*key*/,
14 size_t /*len*/,
15 struct ntlm_buf */*session*/,
16 struct ntlm_buf */*master*/);
18 int
19 heim_ntlm_calculate_ntlm1 (
20 void */*key*/,
21 size_t /*len*/,
22 unsigned char challange[8],
23 struct ntlm_buf */*answer*/);
25 int
26 heim_ntlm_calculate_ntlm2 (
27 const void */*key*/,
28 size_t /*len*/,
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*/);
36 int
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*/);
44 int
45 heim_ntlm_decode_targetinfo (
46 const struct ntlm_buf */*data*/,
47 int /*ucs2*/,
48 struct ntlm_targetinfo */*ti*/);
50 int
51 heim_ntlm_decode_type1 (
52 const struct ntlm_buf */*buf*/,
53 struct ntlm_type1 */*data*/);
55 int
56 heim_ntlm_decode_type2 (
57 const struct ntlm_buf */*buf*/,
58 struct ntlm_type2 */*type2*/);
60 int
61 heim_ntlm_decode_type3 (
62 const struct ntlm_buf */*buf*/,
63 int /*ucs2*/,
64 struct ntlm_type3 */*type3*/);
66 int
67 heim_ntlm_encode_targetinfo (
68 const struct ntlm_targetinfo */*ti*/,
69 int /*ucs2*/,
70 struct ntlm_buf */*data*/);
72 int
73 heim_ntlm_encode_type1 (
74 const struct ntlm_type1 */*type1*/,
75 struct ntlm_buf */*data*/);
77 int
78 heim_ntlm_encode_type2 (
79 const struct ntlm_type2 */*type2*/,
80 struct ntlm_buf */*data*/);
82 int
83 heim_ntlm_encode_type3 (
84 const struct ntlm_type3 */*type3*/,
85 struct ntlm_buf */*data*/);
87 void
88 heim_ntlm_free_buf (struct ntlm_buf */*p*/);
90 void
91 heim_ntlm_free_targetinfo (struct ntlm_targetinfo */*ti*/);
93 void
94 heim_ntlm_free_type1 (struct ntlm_type1 */*data*/);
96 void
97 heim_ntlm_free_type2 (struct ntlm_type2 */*data*/);
99 void
100 heim_ntlm_free_type3 (struct ntlm_type3 */*data*/);
103 heim_ntlm_nt_key (
104 const char */*password*/,
105 struct ntlm_buf */*key*/);
107 void
108 heim_ntlm_ntlmv2_key (
109 const void */*key*/,
110 size_t /*len*/,
111 const char */*username*/,
112 const char */*target*/,
113 unsigned char ntlmv2[16]);
116 heim_ntlm_verify_ntlm2 (
117 const void */*key*/,
118 size_t /*len*/,
119 const char */*username*/,
120 const char */*target*/,
121 time_t /*now*/,
122 const unsigned char serverchallange[8],
123 const struct ntlm_buf */*answer*/,
124 struct ntlm_buf */*infotarget*/,
125 unsigned char ntlmv2[16]);
127 #ifdef __cplusplus
129 #endif
131 #endif /* __heimntlm_protos_h__ */