/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | api.h | 65 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 *key, [all …]
|
H A D | spi.h | 140 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_t, [all …]
|
H A D | ops_impl.h | 59 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 D | sched_impl.h | 478 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 D | dca.h | 835 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 D | ioctl.h | 267 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; 1103 crypto_key_t uk_unwrapping_key; [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelGlobal.h | 77 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 D | rsa.c | 83 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 D | aes.c | 117 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t); 119 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t); 121 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t, boolean_t); 123 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 *, 159 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t); 167 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *, 170 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *, 183 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *, [all …]
|
H A D | blowfish.c | 121 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 D | dprov.c | 714 static int dprov_digest_key(crypto_ctx_t *, crypto_key_t *, 731 static int dprov_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, 740 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 743 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 756 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t); 764 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 768 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t); 776 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 792 static int dprov_sign_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, 801 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *, [all …]
|
H A D | ecc.c | 84 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) in check_mech_and_key() 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() [all …]
|
H A D | skein_mod.c | 100 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 D | zio_crypt.h | 95 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 D | des_crypt.c | 157 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() 890 crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext, in des_decrypt_atomic() [all …]
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_sign.c | 47 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 D | kcf_verify.c | 47 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 D | kcf_dual.c | 39 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() 417 crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl, in crypto_encrypt_mac_init_prov() 553 crypto_mechanism_t *mac_mech, crypto_key_t *encr_key, in crypto_encrypt_mac_init() 554 crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl, in crypto_encrypt_mac_init() 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() [all …]
|
H A D | kcf_cipher.c | 106 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 D | kcf_mac.c | 96 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()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 78 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 D | cryptmod.h | 181 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/lib/libzpool/common/ |
H A D | kernel.c | 688 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()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_sign_kcf.c | 136 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/uts/common/fs/smbclnt/netsmb/ |
H A D | nsmb_sign_kcf.c | 143 crypto_key_t ckey; in nsmb_hmac_init() 215 crypto_key_t ckey; in nsmb_hmac_one() 260 crypto_key_t ckey; in nsmb_cmac_init()
|