Searched refs:crypto_key_t (Results 1 - 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dapi.h65 crypto_key_t *key, crypto_ctx_template_t *tmpl, int kmflag);
89 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
92 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
95 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
98 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
100 extern int crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key,
103 crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
113 extern int crypto_sign(crypto_mechanism_t *mech, crypto_key_t *key,
117 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
119 extern int crypto_sign_init(crypto_mechanism_t *mech, crypto_key_t *ke
[all...]
H A Dspi.h140 crypto_mechanism_t *, crypto_key_t *,
158 int (*digest_key)(crypto_ctx_t *, crypto_key_t *, crypto_req_handle_t);
174 crypto_mechanism_t *, crypto_key_t *,
183 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
187 crypto_mechanism_t *, crypto_key_t *,
196 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
208 crypto_mechanism_t *, crypto_key_t *,
217 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
221 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
234 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_
[all...]
H A Dops_impl.h59 crypto_key_t *do_digest_key; /* Argument for digest_key() */
66 crypto_key_t *mo_key;
76 crypto_key_t *eo_key;
86 crypto_key_t *dop_key;
96 crypto_key_t *so_key;
106 crypto_key_t *vo_key;
116 crypto_key_t *em_encr_key;
119 crypto_key_t *em_mac_key;
131 crypto_key_t *md_mac_key;
134 crypto_key_t *md_decr_ke
[all...]
H A Dsched_impl.h478 extern int kcf_get_hardware_provider(crypto_mech_type_t, crypto_key_t *,
479 crypto_mech_type_t, crypto_key_t *,
488 crypto_key_t *, kcf_mech_entry_t **, int *, kcf_prov_tried_t *,
491 crypto_key_t *, crypto_mechanism_t *, crypto_key_t *,
H A Ddca.h835 int dca_3desctxinit(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
843 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
852 int dca_rsainit(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, int);
855 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
865 int dca_dsainit(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, int,
869 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
905 dca_get_key_attr(crypto_key_t *);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelGlobal.h78 CK_RV get_rsa_public_key(kernel_object_t *, crypto_key_t *);
79 CK_RV get_rsa_private_key(kernel_object_t *, crypto_key_t *);
80 CK_RV get_dsa_public_key(kernel_object_t *, crypto_key_t *);
81 CK_RV get_dsa_private_key(kernel_object_t *, crypto_key_t *);
82 CK_RV get_ec_public_key(kernel_object_t *, crypto_key_t *);
83 CK_RV get_ec_private_key(kernel_object_t *, crypto_key_t *);
84 void free_key_attributes(crypto_key_t *);
H A DkernelEmulate.h67 crypto_key_t *keyp, int opflag);
/illumos-gate/usr/src/uts/common/sys/
H A Dcryptmod.h183 crypto_key_t *ckey; /* initial encryption key */
184 crypto_key_t d_encr_key; /* derived encr key */
185 crypto_key_t d_hmac_key; /* derived hmac key */
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c83 crypto_key_t *key;
92 crypto_key_t *key;
182 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
186 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
191 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
212 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
220 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
246 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
251 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
308 static int rsa_encrypt_common(rsa_mech_type_t, crypto_key_t *,
[all...]
H A Dblowfish.c121 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
123 crypto_spi_ctx_template_t *, crypto_mechanism_t *, crypto_key_t *, int);
134 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
142 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
159 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
241 init_keysched(crypto_key_t *key, void *keysched)
276 crypto_key_t *key, crypto_spi_ctx_template_t template,
596 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext,
683 crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext,
772 crypto_mechanism_t *mechanism, crypto_key_t *ke
[all...]
H A Decc.c84 crypto_key_t *key;
94 crypto_key_t *key;
134 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
142 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
157 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
165 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
184 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
344 check_mech_and_key(ecc_mech_type_t mech_type, crypto_key_t *key, ulong_t class)
467 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
547 crypto_key_t *ke
[all...]
H A Daes.c110 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
112 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
114 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t, boolean_t);
116 crypto_mechanism_t *, crypto_key_t *, int, boolean_t);
127 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
135 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
152 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
155 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
168 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
302 init_keysched(crypto_key_t *ke
[all...]
H A Dskein_mod.c100 static int skein_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
103 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
116 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
686 crypto_key_t *key)
717 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
756 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac,
796 crypto_mechanism_t *mechanism, crypto_key_t *key,
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_sign.c47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl,
91 crypto_sign_init(crypto_mechanism_t *mech, crypto_key_t *key,
228 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data,
257 sign_sr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key,
338 crypto_sign(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data,
348 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data,
377 crypto_sign_recover(crypto_mechanism_t *mech, crypto_key_t *key,
387 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key,
H A Dkcf_verify.c47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl,
92 crypto_verify_init(crypto_mechanism_t *mech, crypto_key_t *key,
230 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data,
259 verify_vr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key,
341 crypto_verify(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data,
351 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *signature,
379 crypto_verify_recover(crypto_mechanism_t *mech, crypto_key_t *key,
389 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key,
H A Dkcf_cipher.c76 * key: pointer to a crypto_key_t structure.
106 crypto_mechanism_t *mech, crypto_key_t *key,
229 crypto_cipher_init(crypto_mechanism_t *mech, crypto_key_t *key,
295 * key: pointer to a crypto_key_t structure.
319 crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key,
355 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext,
431 crypto_mechanism_t *mech, crypto_key_t *key,
445 crypto_encrypt_init(crypto_mechanism_t *mech, crypto_key_t *key,
576 * key: pointer to a crypto_key_t structure.
600 crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *ke
[all...]
H A Dkcf_mac.c72 * key: pointer to a crypto_key_t structure.
96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key,
130 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
220 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key,
254 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac,
346 * key: pointer to a crypto_key_t structure.
372 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl,
434 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key,
H A Dkcf_ctxops.c52 * key: pointer to a crypto_key_t structure.
76 crypto_create_ctx_template(crypto_mechanism_t *mech, crypto_key_t *key,
H A Dkcf_keys.c119 crypto_mechanism_t *mech, crypto_key_t *wrapping_key,
158 crypto_mechanism_t *mech, crypto_key_t *unwrapping_key,
199 crypto_mechanism_t *mech, crypto_key_t *base_key,
H A Dkcf_dual.c39 crypto_mechanism_t *, crypto_dual_data_t *, crypto_key_t *, crypto_key_t *,
45 crypto_dual_data_t *, crypto_key_t *, crypto_key_t *,
52 crypto_data_t *pt, crypto_key_t *encr_key, crypto_key_t *mac_key,
174 crypto_key_t *encr_key, crypto_key_t *mac_key,
416 crypto_mechanism_t *mac_mech, crypto_key_t *encr_key,
417 crypto_key_t *mac_ke
[all...]
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslioctl.c67 privateKey_free(crypto_key_t *privkey)
80 kmem_free(privkey, sizeof (crypto_key_t));
111 crypto_key_t *privkey;
278 extract_private_key(kssl_params_t *kssl_params, crypto_key_t **privkey)
289 crypto_key_t *kssl_privkey;
293 kssl_privkey = kmem_alloc(sizeof (crypto_key_t), KM_SLEEP);
354 kmem_free(kssl_privkey, sizeof (crypto_key_t));
401 crypto_key_t *privkey)
534 crypto_key_t *privkey;
H A Dksslimpl.h80 crypto_key_t key;
109 crypto_key_t *ke_private_key; /* instance's private key */
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c276 crypto_copy_key_to_ctx(crypto_key_t *in_key, crypto_key_t **out_key,
283 crypto_key_t *key;
289 len = sizeof (crypto_key_t) +
301 sizeof (crypto_key_t));
543 crypto_get_key_attr(crypto_key_t *key, crypto_attr_type_t type,
/illumos-gate/usr/src/uts/common/des/
H A Ddes_crypt.c157 des_common_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
160 crypto_mechanism_t *, crypto_key_t *, des_strength_t, int);
171 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
179 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
196 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
206 crypto_key_t *);
389 init_keysched(crypto_key_t *key, void *newbie, des_strength_t strength)
434 crypto_key_t *key, crypto_spi_ctx_template_t template,
787 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext,
890 crypto_key_t *ke
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/
H A Dcommon.c221 crypto_key_t key;
226 if (mdb_vread(&key, sizeof (crypto_key_t), addr) == -1) {

Completed in 97 milliseconds

123