/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_cryptoadm.c | 59 static int add_soft_config(char *, uint_t, crypto_mech_name_t *); 60 static int dup_mech_names(kcf_provider_desc_t *, crypto_mech_name_t **, 76 count_mechanisms(crypto_mech_name_t mechs[]) in count_mechanisms() 94 crypto_mech_name_t *mechs; in kcf_soft_config_init() 136 static crypto_mech_name_t des_mechs[] = { in kcf_soft_config_init() 139 static crypto_mech_name_t aes_mechs[] = { in kcf_soft_config_init() 142 static crypto_mech_name_t arcfour_mechs[] = { in kcf_soft_config_init() 144 static crypto_mech_name_t blowfish_mechs[] = { in kcf_soft_config_init() 146 static crypto_mech_name_t ecc_mechs[] = { in kcf_soft_config_init() 149 static crypto_mech_name_t sha1_mechs[] = { in kcf_soft_config_init() [all …]
|
H A D | kcf_policy.c | 104 crypto_mech_name_t **array) in kcf_policy_remove_by_name() 146 crypto_mech_name_t **array) in kcf_policy_remove_by_dev() 241 crypto_mech_name_t *new_array, uint_t *prev_count, in kcf_policy_load_soft_disabled() 242 crypto_mech_name_t **prev_array) in kcf_policy_load_soft_disabled() 304 crypto_mech_name_t *new_array, uint_t *prev_count, in kcf_policy_load_dev_disabled() 305 crypto_mech_name_t **prev_array) in kcf_policy_load_dev_disabled() 390 kmem_free(desc->pd_disabled_mechs, sizeof (crypto_mech_name_t) * in kcf_policy_free_desc()
|
H A D | kcf_crypto.c | 48 uint_t *count, crypto_mech_name_t **array) in crypto_get_provider_mechanisms()
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | ioctladmin.h | 62 crypto_mech_name_t di_list[1]; 69 crypto_mech_name_t si_list[1]; 77 crypto_mech_name_t dd_list[1]; 84 crypto_mech_name_t sd_list[1]; 96 crypto_mech_name_t sc_list[1];
|
H A D | impl.h | 339 #define KCF_CPU_PAD (128 - sizeof (crypto_mech_name_t) - \ 349 crypto_mech_name_t me_name; /* mechanism name */ 389 crypto_mech_name_t *pd_disabled_mechs; 421 crypto_mech_name_t *ce_mechs; 1293 uint_t *count, crypto_mech_name_t **list); 1307 crypto_mech_name_t **list); 1309 crypto_mech_name_t **list); 1311 crypto_mech_name_t *list); 1313 crypto_mech_name_t *list); 1316 crypto_mech_name_t *list); [all …]
|
H A D | ioctl.h | 1236 crypto_mech_name_t pm_list[1]; 1242 crypto_mech_name_t mi_mechanism_name; 1318 crypto_mech_name_t pm_list[1]; 1454 crypto_mech_name_t ml_list[1]; 1459 crypto_mech_name_t mi_mechanism_name; 1470 crypto_mech_name_t ml_list[1]; 1475 crypto_mech_name_t mi_mechanism_name;
|
H A D | api.h | 342 extern crypto_mech_name_t *crypto_get_mech_list(uint_t *count, int kmflag); 343 extern void crypto_free_mech_list(crypto_mech_name_t *mech_names, 367 crypto_mech_name_t ec_mech_name;
|
H A D | common.h | 49 typedef char crypto_mech_name_t[CRYPTO_MAX_MECH_NAME]; typedef
|
H A D | spi.h | 659 crypto_mech_name_t cm_mech_name;
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | cryptoadm.c | 63 extern void audit_cryptoadm(int, char *, crypto_mech_name_t *, uint_t, 361 crypto_mech_name_t *entries; in get_dev_info() 405 copyout_size = count * sizeof (crypto_mech_name_t); in get_dev_info() 432 crypto_mech_name_t *entries; in get_soft_info() 473 copyout_size = count * sizeof (crypto_mech_name_t); in get_soft_info() 499 crypto_mech_name_t *entries; in load_dev_disabled() 540 size = count * sizeof (crypto_mech_name_t); in load_dev_disabled() 579 crypto_mech_name_t *entries; in load_soft_disabled() 621 size = count * sizeof (crypto_mech_name_t); in load_soft_disabled() 662 crypto_mech_name_t *entries; in load_soft_config() [all …]
|
H A D | crypto.c | 994 crypto_mech_name_t *entries; in get_mechanism_list() 1033 copyout_size = count * sizeof (crypto_mech_name_t); in get_mechanism_list() 1098 crypto_mech_name_t mech_name; in get_all_mechanism_info() 1529 crypto_mech_name_t *entries; in get_provider_mechanisms() 1596 copyout_size = count * sizeof (crypto_mech_name_t); in get_provider_mechanisms()
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef_ioctl.c | 66 extra_mech_size = sizeof (crypto_mech_name_t) * in setup_soft_conf() 111 extra_mech_size = sizeof (crypto_mech_name_t) * in setup_soft_dis() 164 extra_mech_size = sizeof (crypto_mech_name_t) * in setup_dev_dis() 234 extra_mech_size = sizeof (crypto_mech_name_t) * (count - 1); in setup_get_soft_info() 340 sizeof (crypto_mech_name_t) * (count - 1)); in get_dev_info()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lofi.h | 163 crypto_mech_name_t li_cipher; /* for data */ 166 crypto_mech_name_t li_iv_cipher; /* for iv derivation */
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 114 crypto_mech_name_t * 120 crypto_mech_name_t *mech_name_tab, *tmp_mech_name_tab; in crypto_get_mech_list() 291 crypto_free_mech_list(crypto_mech_name_t *mech_names, uint_t count) in crypto_free_mech_list()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSlotToken.c | 266 (tmp.pm_count - 1) * sizeof (crypto_mech_name_t); in C_GetMechanismList() 292 sizeof (crypto_mech_name_t)); in C_GetMechanismList()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zio_crypt.h | 54 crypto_mech_name_t ci_mechname;
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.h | 509 void audit_cryptoadm(int, char *, crypto_mech_name_t *,
|
H A D | audit.c | 1856 audit_cryptoadm(int cmd, char *module_name, crypto_mech_name_t *mech_names, in audit_cryptoadm()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | impl.c | 357 prt_mechs(int count, crypto_mech_name_t *mechs) in prt_mechs()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | sadb.h | 880 crypto_mech_name_t alg_mech_name; /* KCF mechanism name */
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 681 sizeof (crypto_mech_name_t) * (count - 1)); in kernel_cipher_check() 702 sizeof (crypto_mech_name_t) * (count - 1)); in kernel_cipher_check()
|
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm.c | 2077 crypto_mech_name_t *rngmech; in tpmrng_register()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spdsock.c | 3661 crypto_mech_name_t *mechs; in spdsock_merge_algs()
|
H A D | spd.c | 5046 crypto_mech_name_t *mechs; in ipsec_prov_update_callback_stack()
|