Home
last modified time | relevance | path

Searched refs:krb5_keyblock (Results 1 – 25 of 164) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Ddes_int.h137 krb5_keyblock *keyblock,
146 krb5_keyblock *, const krb5_octet *);
153 krb5_keyblock *key,
175 ( krb5_encrypt_block *, const krb5_keyblock *);
180 krb5_keyblock *, const krb5_data *, const krb5_data *);
187 (const krb5_keyblock *, const krb5_keyblock *,
188 krb5_keyblock **);
219 krb5_keyblock *key,
226 const krb5_keyblock * keyblock);
231 krb5_keyblock * keyblock,
H A Ddk.h39 const krb5_keyblock *key, krb5_keyusage usage,
47 krb5_const krb5_keyblock *key, krb5_keyusage usage,
54 krb5_const krb5_keyblock *inkey,
55 krb5_keyblock *outkey, krb5_const krb5_data *in_constant);
60 krb5_const krb5_keyblock *key, krb5_keyusage usage,
71 krb5_keyblock *key);
83 const krb5_keyblock *key, krb5_keyusage usage,
91 const krb5_keyblock *key, krb5_keyusage usage,
99 const krb5_data *, krb5_keyblock *key);
H A Dk5-int.h470 krb5_keyblock sam_key;
494 krb5_keyblock sam_key;
852 krb5_keyblock *key);
950 const krb5_keyblock *,
970 (krb5_context context, krb5_keyblock *key1, krb5_keyblock *key2,
1220 krb5_keyblock *,
1286 krb5_keyblock **,
1645 krb5_keyblock **, krb5_keyblock **);
1648 krb5_keyblock *);
1650 krb5_keyblock *find_derived_key(krb5_keyusage, uchar_t, krb5_keyblock *);
[all …]
H A Dkrb5.h430 } krb5_keyblock; typedef
444 krb5_keyblock *key;
1517 krb5_keyblock *);
1789 krb5_keyblock **);
1793 krb5_keyblock *);
1847 const krb5_keyblock *, krb5_keyblock **);
2237 krb5_keyblock **);
2378 krb5_keyblock *);
2383 krb5_keyblock **);
2401 krb5_keyblock **);
[all …]
H A DgssapiP_krb5.h188 krb5_keyblock *subkey;
192 krb5_keyblock *enc;
193 krb5_keyblock *seq;
212 krb5_keyblock *acceptor_subkey; /* CFX only */
251 krb5_keyblock *key,
256 krb5_keyblock *key,
261 krb5_keyblock *key,
267 krb5_keyblock *key, unsigned char *buf);
270 krb5_keyblock *key, int usage,
277 const krb5_keyblock *longterm_key , int ms_usage,
[all …]
H A Darcfour.h21 const krb5_keyblock *,
31 const krb5_keyblock *,
44 krb5_keyblock *);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h290 krb5_keyblock *key );
292 krb5_keyblock *key);
294 krb5_keyblock **key );
296 krb5_keyblock *key );
300 krb5_keyblock *key,
309 krb5_keyblock *key);
455 krb5_keyblock *key,
462 krb5_keyblock *key,
469 krb5_keyblock *mkey);
473 krb5_keyblock *key );
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_key.c46 const krb5_keyblock *from, krb5_keyblock *to) in krb5_copy_keyblock_data()
92 const krb5_keyblock *from;
93 krb5_keyblock **to;
95 krb5_keyblock *new_key;
97 if (!(new_key = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock))))
101 FREE(new_key, sizeof(krb5_keyblock));
H A Dser_key.c61 krb5_keyblock *keyblock; in krb5_keyblock_size()
73 keyblock = (krb5_keyblock *) arg; in krb5_keyblock_size()
93 krb5_keyblock *keyblock; in krb5_keyblock_externalize()
103 keyblock = (krb5_keyblock *) arg; in krb5_keyblock_externalize()
144 krb5_keyblock *keyblock; in krb5_keyblock_internalize()
160 (keyblock = (krb5_keyblock *) MALLOC(sizeof(krb5_keyblock)))) { in krb5_keyblock_internalize()
161 (void) memset(keyblock, 0, sizeof(krb5_keyblock)); in krb5_keyblock_internalize()
192 FREE(keyblock, sizeof(krb5_keyblock)); in krb5_keyblock_internalize()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dget_set_keyblock.c31 krb5_get_key_enctype(krb5_keyblock *kb) in krb5_get_key_enctype()
37 krb5_get_key_length(krb5_keyblock *kb) in krb5_get_key_length()
43 krb5_get_key_data(krb5_keyblock *kb) in krb5_get_key_data()
49 krb5_set_key_enctype(krb5_keyblock *kb, krb5_enctype enctype) in krb5_set_key_enctype()
55 krb5_set_key_length(krb5_keyblock *kb, unsigned int len) in krb5_set_key_length()
61 krb5_set_key_data(krb5_keyblock *kb, krb5_octet *data) in krb5_set_key_data()
H A Dgen_subkey.c34 krb5_generate_subkey(krb5_context context, const krb5_keyblock *key, krb5_keyblock **subkey) in krb5_generate_subkey()
52 if ((*subkey = (krb5_keyblock *) malloc(sizeof(krb5_keyblock))) == NULL) in krb5_generate_subkey()
56 (void) memset(*subkey, 0, sizeof(krb5_keyblock)); in krb5_generate_subkey()
H A Dpreauth.c40 krb5_keyblock *,
45 krb5_keyblock **),
60 krb5_keyblock **),
63 const krb5_keyblock *,
66 krb5_keyblock **,
75 krb5_keyblock *,
80 krb5_keyblock **),
127 krb5_keyblock **);
130 const krb5_keyblock *,
142 krb5_keyblock * def_enc_key = 0; in krb5_obtain_padata()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dchecksum.c50 const krb5_keyblock *key, in derive_cksum_key()
52 krb5_keyblock **outkey) in derive_cksum_key()
55 krb5_keyblock *cached_key = NULL; in derive_cksum_key()
60 (krb5_keyblock *)key); in derive_cksum_key()
102 ret = add_derived_key((krb5_keyblock *)key, usage, in derive_cksum_key()
116 krb5_const krb5_keyblock *key;
123 krb5_keyblock *cksum_key = NULL;
143 (krb5_keyblock *)key)))
151 if ((ret = krb5_hmac(context, (krb5_keyblock *)cksum_key,
H A Dderive.c43 krb5_keyblock *
45 krb5_keyblock *key) in find_derived_key()
67 add_derived_key(krb5_keyblock *key, in add_derived_key()
69 krb5_keyblock *derived_key) in add_derived_key()
104 krb5_keyblock *
107 krb5_keyblock *key = MALLOC(sizeof(krb5_keyblock)); in krb5_create_derived_keyblock()
138 krb5_keyblock *key, in init_derived_keydata()
140 krb5_keyblock **d_encr_key, in init_derived_keydata()
141 krb5_keyblock **d_hmac_key) in init_derived_keydata()
145 krb5_keyblock *cached_key; in init_derived_keydata()
[all …]
H A Ddk_decrypt.c42 const krb5_keyblock *key,
54 const krb5_keyblock *key, krb5_keyusage usage, in krb5_dk_decrypt()
67 const krb5_keyblock *key, krb5_keyusage usage, in krb5int_aes_dk_decrypt()
80 const krb5_keyblock *key, krb5_keyusage usage, in krb5_dk_decrypt_maybe_trunc_hmac()
88 krb5_keyblock *derived_encr_key = NULL; in krb5_dk_decrypt_maybe_trunc_hmac()
89 krb5_keyblock *derived_hmac_key = NULL; in krb5_dk_decrypt_maybe_trunc_hmac()
99 (krb5_keyblock *)key, in krb5_dk_decrypt_maybe_trunc_hmac()
H A Ddk_encrypt.c61 const krb5_keyblock *key, krb5_keyusage usage, in krb5_dk_encrypt()
69 krb5_keyblock *derived_encr_key = NULL; in krb5_dk_encrypt()
70 krb5_keyblock *derived_hmac_key = NULL; in krb5_dk_encrypt()
80 (krb5_keyblock *)key, in krb5_dk_encrypt()
187 const krb5_keyblock *ki, int num, in trunc_hmac()
223 const krb5_keyblock *key, in krb5int_aes_dk_encrypt()
233 krb5_keyblock *derived_encr_key = NULL; in krb5int_aes_dk_encrypt()
234 krb5_keyblock *derived_hmac_key = NULL; in krb5int_aes_dk_encrypt()
242 (krb5_keyblock *)key, in krb5int_aes_dk_encrypt()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dold_api_glue.c111 const krb5_keyblock *key) in krb5_process_key()
113 eblock->key = (krb5_keyblock *) key; in krb5_process_key()
126 krb5_keyblock *keyblock, const krb5_data *data, in krb5_string_to_key()
135 const krb5_keyblock *keyblock, krb5_pointer *ptr) in krb5_init_random_key()
154 krb5_pointer ptr, krb5_keyblock **keyblock) in krb5_random_key()
156 krb5_keyblock *key; in krb5_random_key()
159 if ((key = (krb5_keyblock *) malloc(sizeof(krb5_keyblock))) == NULL) in krb5_random_key()
214 krb5_keyblock key; in krb5_calculate_checksum()
252 krb5_keyblock key; in krb5_verify_checksum()
285 krb5_error_code krb5_encrypt_data(krb5_context context, krb5_keyblock *key, in krb5_encrypt_data()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_crypt.c72 krb5_keyblock *key;
89 krb5_keyblock *key;
109 krb5_keyblock *key;
123 krb5_keyblock *key;
171 krb5_keyblock *key;
216 const krb5_keyblock *longterm_key , int ms_usage, in kg_arcfour_docrypt()
223 krb5_keyblock seq_enc_key, usage_key; in kg_arcfour_docrypt()
228 bzero(&usage_key, sizeof(krb5_keyblock)); in kg_arcfour_docrypt()
229 bzero(&seq_enc_key, sizeof(krb5_keyblock)); in kg_arcfour_docrypt()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Ddes.c38 k5_des_docrypt(krb5_context context, krb5_const krb5_keyblock *key, in k5_des_docrypt()
58 (krb5_keyblock *)key, in k5_des_docrypt()
67 k5_des_encrypt(krb5_context context, krb5_const krb5_keyblock *key, in k5_des_encrypt()
75 k5_des_decrypt(krb5_context context, krb5_const krb5_keyblock *key, in k5_des_decrypt()
84 krb5_keyblock *key) in k5_des_make_key()
H A Ddes3.c38 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_docrypt()
59 (krb5_keyblock *)key, in k5_des3_docrypt()
69 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_encrypt()
77 krb5_const krb5_keyblock *key, krb5_const krb5_data *ivec, in k5_des3_decrypt()
85 krb5_keyblock *key) in k5_des3_make_key()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dmake_checksum.c39 const krb5_keyblock *key, krb5_keyusage usage, in krb5_c_make_checksum()
100 (krb5_keyblock *)key))) in krb5_c_make_checksum()
104 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) in krb5_c_make_checksum()
113 (krb5_keyblock *)key); in krb5_c_make_checksum()
115 (krb5_keyblock *)key); in krb5_c_make_checksum()
124 ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key); in krb5_c_make_checksum()
H A Dencrypt.c38 update_key_template(krb5_keyblock *key) in update_key_template()
81 init_key_kef(crypto_mech_type_t mech_type, krb5_keyblock *key) in init_key_kef()
111 init_key_uef(CK_SESSION_HANDLE hSession, krb5_keyblock *key) in init_key_uef()
175 krb5_c_encrypt(krb5_context context, const krb5_keyblock *key, in krb5_c_encrypt()
200 (krb5_keyblock *)key))) in krb5_c_encrypt()
204 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key))) in krb5_c_encrypt()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c76 const krb5_keyblock *key;
82 krb5_keyblock k1, k2, k3;
83 krb5_keyblock *kptr;
94 bzero(&k2, sizeof(krb5_keyblock));
103 bcopy(key, &k1, sizeof (krb5_keyblock));
120 bcopy(key, &k2, sizeof (krb5_keyblock));
139 bcopy(key, &k3, sizeof (krb5_keyblock));
273 const krb5_keyblock *key;
279 krb5_keyblock k1,k2,k3, *kptr;
295 bzero(&k2, sizeof(krb5_keyblock));
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/keyhash_provider/
H A Dk_hmac_md5.c47 const krb5_keyblock *key, krb5_keyusage usage, in k5_hmac_md5_hash()
53 krb5_keyblock ks; in k5_hmac_md5_hash()
75 bzero(&ks, sizeof(krb5_keyblock)); in k5_hmac_md5_hash()
92 (krb5_keyblock *)key); in k5_hmac_md5_hash()
106 ret = krb5_hmac(context, (krb5_keyblock *)key, &ks_constant, &ds); in k5_hmac_md5_hash()
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb5.h136 krb5_keyblock *key);
139 krb5_keyblock **key);
151 krb5_keyblock *key,
156 krb5_keyblock *key,
162 krb5_keyblock *mkey);
175 krb5_keyblock * master_key,

1234567