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