Home
last modified time | relevance | path

Searched refs:crypto_key_t (Results 1 – 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dapi.h92 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
98 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
117 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
212 crypto_key_t *encr_key, crypto_key_t *mac_key,
217 crypto_key_t *, crypto_key_t *, crypto_ctx_template_t,
226 crypto_mechanism_t *, crypto_mechanism_t *, crypto_key_t *, crypto_key_t *,
239 crypto_key_t *mac_key, crypto_key_t *decr_key,
244 crypto_dual_data_t *ct, crypto_key_t *mac_key, crypto_key_t *decr_key,
249 crypto_key_t *mac_key, crypto_key_t *decr_key,
255 crypto_key_t *mac_key, crypto_key_t *decr_key,
[all …]
H A Dspi.h140 crypto_mechanism_t *, crypto_key_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 *,
247 crypto_key_t *, crypto_spi_ctx_template_t,
278 crypto_key_t *, crypto_spi_ctx_template_t,
320 crypto_key_t *, crypto_spi_ctx_template_t,
337 crypto_key_t *, crypto_spi_ctx_template_t,
[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_key;
[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 *);
H A Dioctl.h267 crypto_key_t ei_key;
301 crypto_key_t di_key;
346 crypto_key_t dk_key;
369 crypto_key_t mi_key;
399 crypto_key_t si_key;
420 crypto_key_t ri_key;
445 crypto_key_t vi_key;
466 crypto_key_t ri_key;
1093 crypto_key_t wk_wrapping_key;
1115 crypto_key_t dk_base_key;
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelGlobal.h77 CK_RV get_rsa_public_key(kernel_object_t *, crypto_key_t *);
78 CK_RV get_rsa_private_key(kernel_object_t *, crypto_key_t *);
79 CK_RV get_dsa_public_key(kernel_object_t *, crypto_key_t *);
80 CK_RV get_dsa_private_key(kernel_object_t *, crypto_key_t *);
81 CK_RV get_ec_public_key(kernel_object_t *, crypto_key_t *);
82 CK_RV get_ec_private_key(kernel_object_t *, crypto_key_t *);
83 void free_key_attributes(crypto_key_t *);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c83 crypto_key_t *key;
92 crypto_key_t *key;
186 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
191 crypto_mechanism_t *, crypto_key_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 *,
312 static int rsa_sign_common(rsa_mech_type_t, crypto_key_t *,
314 static int rsa_verify_common(rsa_mech_type_t, crypto_key_t *,
492 crypto_key_t *key, crypto_spi_ctx_template_t template, in rsa_common_init()
[all …]
H A Daes.c123 crypto_mechanism_t *, crypto_key_t *, int, boolean_t);
134 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
142 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
321 init_keysched(crypto_key_t *key, void *newbie) in init_keysched()
357 crypto_key_t *key, crypto_spi_ctx_template_t template, in aes_encrypt_init()
365 crypto_key_t *key, crypto_spi_ctx_template_t template, in aes_decrypt_init()
378 crypto_key_t *key, crypto_spi_ctx_template_t template, in aes_common_init()
1282 crypto_mechanism_t *mechanism, crypto_key_t *key, in aes_create_ctx_template()
1462 crypto_key_t *key, crypto_spi_ctx_template_t template, in aes_mac_init()
1501 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in aes_mac_atomic()
[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) in init_keysched()
276 crypto_key_t *key, crypto_spi_ctx_template_t template, in blowfish_common_init()
596 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext, in blowfish_encrypt_atomic()
683 crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext, in blowfish_decrypt_atomic()
772 crypto_mechanism_t *mechanism, crypto_key_t *key, in blowfish_create_ctx_template()
[all …]
H A Ddprov.c1377 crypto_key_t *dr_key;
1385 crypto_key_t *dr_key;
1395 crypto_key_t *dr_key;
1405 crypto_key_t *sr_key;
1415 crypto_key_t *vr_key;
1484 crypto_key_t *kr_key;
1605 dprov_req_type_t, crypto_key_t *, crypto_key_t *);
1607 dprov_req_type_t, crypto_key_t *, crypto_key_t *);
5485 crypto_key_t key; in dprov_digest_task()
5553 crypto_key_t key; in dprov_mac_task()
[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);
165 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
184 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
467 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in ecc_sign_verify_common_init()
547 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in ecc_sign_init()
567 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in ecc_verify_init()
652 crypto_key_t *key = ctx->key; in ecc_sign_common()
854 crypto_key_t *key = ctx->key; in ecc_verify_common()
[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) in skein_mac_ctx_build()
717 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, in skein_mac_init()
756 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, in skein_mac_atomic()
796 crypto_mechanism_t *mechanism, crypto_key_t *key, in skein_create_ctx_template()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzio_crypt.h95 crypto_key_t zk_current_key;
101 crypto_key_t zk_hmac_key;
114 int zio_crypt_key_wrap(crypto_key_t *cwkey, zio_crypt_key_t *key, uint8_t *iv,
116 int zio_crypt_key_unwrap(crypto_key_t *cwkey, uint64_t crypt, uint64_t version,
/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) in init_keysched()
434 crypto_key_t *key, crypto_spi_ctx_template_t template, in des_common_init()
787 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext, in des_encrypt_atomic()
995 crypto_mechanism_t *mechanism, crypto_key_t *key, in des_create_ctx_template()
[all …]
/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, in crypto_sign_init_prov()
91 crypto_sign_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_sign_init()
228 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_sign_prov()
257 sign_sr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, in sign_sr_atomic_common()
338 crypto_sign(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_sign()
348 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_sign_recover_prov()
377 crypto_sign_recover(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_sign_recover()
387 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, in crypto_sign_recover_init_prov()
H A Dkcf_verify.c47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, in crypto_verify_init_prov()
92 crypto_verify_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_verify_init()
230 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_verify_prov()
259 verify_vr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, in verify_vr_atomic_common()
341 crypto_verify(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_verify()
351 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *signature, in crypto_verify_recover_prov()
379 crypto_verify_recover(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_verify_recover()
389 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, in crypto_verify_recover_init_prov()
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, in crypto_encrypt_mac_prov()
174 crypto_key_t *encr_key, crypto_key_t *mac_key, in crypto_encrypt_mac()
416 crypto_mechanism_t *mac_mech, crypto_key_t *encr_key, in crypto_encrypt_mac_init_prov()
1071 crypto_key_t *mac_key, crypto_key_t *decr_key, in crypto_mac_decrypt()
1082 crypto_dual_data_t *ct, crypto_key_t *mac_key, crypto_key_t *decr_key, in crypto_mac_decrypt_prov()
1100 crypto_key_t *mac_key, crypto_key_t *decr_key, in crypto_mac_verify_decrypt()
1112 crypto_key_t *mac_key, crypto_key_t *decr_key, in crypto_mac_verify_decrypt_prov()
1128 crypto_key_t *mac_key, crypto_key_t *decr_key, in crypto_mac_decrypt_common()
[all …]
H A Dkcf_cipher.c106 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init_prov()
229 crypto_cipher_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init()
319 crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key, in crypto_encrypt_prov()
355 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext, in crypto_encrypt()
431 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_encrypt_init_prov()
445 crypto_encrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_encrypt_init()
600 crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key, in crypto_decrypt_prov()
637 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext, in crypto_decrypt()
713 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_decrypt_init_prov()
727 crypto_decrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_decrypt_init()
H A Dkcf_mac.c96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, in crypto_mac_prov()
130 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac()
220 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, in crypto_mac_verify_prov()
254 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, in crypto_mac_verify()
372 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, in crypto_mac_init_prov()
434 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init()
H A Dkcf_keys.c119 crypto_mechanism_t *mech, crypto_key_t *wrapping_key, in crypto_key_wrap()
158 crypto_mechanism_t *mech, crypto_key_t *unwrapping_key, in crypto_key_unwrap()
199 crypto_mechanism_t *mech, crypto_key_t *base_key, in crypto_key_derive()
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c78 crypto_copy_key_to_ctx(crypto_key_t *in_key, crypto_key_t **out_key, in crypto_copy_key_to_ctx()
85 crypto_key_t *key; in crypto_copy_key_to_ctx()
91 len = sizeof (crypto_key_t) + in crypto_copy_key_to_ctx()
103 sizeof (crypto_key_t)); in crypto_copy_key_to_ctx()
345 crypto_get_key_attr(crypto_key_t *key, crypto_attr_type_t type, in crypto_get_key_attr()
/illumos-gate/usr/src/uts/common/sys/
H A Dcryptmod.h181 crypto_key_t *ckey; /* initial encryption key */
182 crypto_key_t d_encr_key; /* derived encr key */
183 crypto_key_t d_hmac_key; /* derived hmac key */
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_sign_kcf.c136 crypto_key_t ckey; in smb2_hmac_init()
208 crypto_key_t ckey; in smb2_hmac_one()
253 crypto_key_t ckey; in smb3_cmac_init()
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c688 crypto_key_t *key, crypto_ctx_template_t *tmpl, int kmflag) in crypto_create_ctx_template()
701 crypto_key_t *key, crypto_ctx_template_t impl, in crypto_mac()
709 crypto_key_t *key, crypto_ctx_template_t tmpl, in crypto_encrypt()
718 crypto_key_t *key, crypto_ctx_template_t tmpl, in crypto_decrypt()
751 extern int crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init()

123