xref: /freebsd/crypto/heimdal/lib/hdb/hdb-private.h (revision 57718be8fa0bd5edc11ab9a72e68cc71982939a6)
1 /* This is a generated file */
2 #ifndef __hdb_private_h__
3 #define __hdb_private_h__
4 
5 #include <stdarg.h>
6 
7 krb5_error_code
8 _hdb_fetch_kvno (
9 	krb5_context /*context*/,
10 	HDB */*db*/,
11 	krb5_const_principal /*principal*/,
12 	unsigned /*flags*/,
13 	krb5_kvno /*kvno*/,
14 	hdb_entry_ex */*entry*/);
15 
16 hdb_master_key
17 _hdb_find_master_key (
18 	uint32_t */*mkvno*/,
19 	hdb_master_key /*mkey*/);
20 
21 krb5_error_code
22 _hdb_keytab2hdb_entry (
23 	krb5_context /*context*/,
24 	const krb5_keytab_entry */*ktentry*/,
25 	hdb_entry_ex */*entry*/);
26 
27 int
28 _hdb_mkey_decrypt (
29 	krb5_context /*context*/,
30 	hdb_master_key /*key*/,
31 	krb5_key_usage /*usage*/,
32 	void */*ptr*/,
33 	size_t /*size*/,
34 	krb5_data */*res*/);
35 
36 int
37 _hdb_mkey_encrypt (
38 	krb5_context /*context*/,
39 	hdb_master_key /*key*/,
40 	krb5_key_usage /*usage*/,
41 	const void */*ptr*/,
42 	size_t /*size*/,
43 	krb5_data */*res*/);
44 
45 int
46 _hdb_mkey_version (hdb_master_key /*mkey*/);
47 
48 krb5_error_code
49 _hdb_remove (
50 	krb5_context /*context*/,
51 	HDB */*db*/,
52 	krb5_const_principal /*principal*/);
53 
54 krb5_error_code
55 _hdb_store (
56 	krb5_context /*context*/,
57 	HDB */*db*/,
58 	unsigned /*flags*/,
59 	hdb_entry_ex */*entry*/);
60 
61 #endif /* __hdb_private_h__ */
62