xref: /freebsd/crypto/heimdal/lib/krb5/krb5-private.h (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
1 /* This is a generated file */
2 #ifndef __krb5_private_h__
3 #define __krb5_private_h__
4 
5 #include <stdarg.h>
6 
7 void
8 _krb5_aes_cts_encrypt (
9 	const unsigned char */*in*/,
10 	unsigned char */*out*/,
11 	size_t /*len*/,
12 	const void */*aes_key*/,
13 	unsigned char */*ivec*/,
14 	const int /*enc*/);
15 
16 void
17 _krb5_crc_init_table (void);
18 
19 u_int32_t
20 _krb5_crc_update (
21 	const char */*p*/,
22 	size_t /*len*/,
23 	u_int32_t /*res*/);
24 
25 int
26 _krb5_extract_ticket (
27 	krb5_context /*context*/,
28 	krb5_kdc_rep */*rep*/,
29 	krb5_creds */*creds*/,
30 	krb5_keyblock */*key*/,
31 	krb5_const_pointer /*keyseed*/,
32 	krb5_key_usage /*key_usage*/,
33 	krb5_addresses */*addrs*/,
34 	unsigned /*nonce*/,
35 	krb5_boolean /*allow_server_mismatch*/,
36 	krb5_boolean /*ignore_cname*/,
37 	krb5_decrypt_proc /*decrypt_proc*/,
38 	krb5_const_pointer /*decryptarg*/);
39 
40 krb5_ssize_t
41 _krb5_get_int (
42 	void */*buffer*/,
43 	unsigned long */*value*/,
44 	size_t /*size*/);
45 
46 krb5_error_code
47 _krb5_get_krbtgt (
48 	krb5_context /*context*/,
49 	krb5_ccache /*id*/,
50 	krb5_realm /*realm*/,
51 	krb5_creds **/*cred*/);
52 
53 time_t
54 _krb5_krb_life_to_time (
55 	int /*start*/,
56 	int /*life_*/);
57 
58 int
59 _krb5_krb_time_to_life (
60 	time_t /*start*/,
61 	time_t /*end*/);
62 
63 void
64 _krb5_n_fold (
65 	const void */*str*/,
66 	size_t /*len*/,
67 	void */*key*/,
68 	size_t /*size*/);
69 
70 krb5_ssize_t
71 _krb5_put_int (
72 	void */*buffer*/,
73 	unsigned long /*value*/,
74 	size_t /*size*/);
75 
76 krb5_error_code
77 _krb5_store_creds_heimdal_0_7 (
78 	krb5_storage */*sp*/,
79 	krb5_creds */*creds*/);
80 
81 krb5_error_code
82 _krb5_store_creds_heimdal_pre_0_7 (
83 	krb5_storage */*sp*/,
84 	krb5_creds */*creds*/);
85 
86 krb5_error_code
87 _krb5_store_creds_internal (
88 	krb5_storage */*sp*/,
89 	krb5_creds */*creds*/,
90 	int /*v0_6*/);
91 
92 int
93 _krb5_xlock (
94 	krb5_context /*context*/,
95 	int /*fd*/,
96 	krb5_boolean /*exclusive*/,
97 	const char */*filename*/);
98 
99 int
100 _krb5_xunlock (int /*fd*/);
101 
102 #endif /* __krb5_private_h__ */
103