/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_object.c | 52 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_object_create() 72 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_object_create() 89 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_object_destroy() 109 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_object_destroy() 127 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_object_copy() 148 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_object_copy() 166 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_object_get_attribute_value() 187 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_object_get_attribute_value() 205 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_object_set_attribute_value() 226 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_object_set_attribute_value() [all …]
|
H A D | kcf_keys.c | 51 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_key_generate() 70 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_key_generate() 90 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_key_generate_pair() 111 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_key_generate_pair() 130 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_key_wrap() 150 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_key_wrap() 170 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_key_unwrap() 191 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_key_unwrap() 210 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_key_derive() 229 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_key_derive()
|
H A D | kcf_sign.c | 58 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_sign_init_prov() 69 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_sign_init_prov() 77 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_sign_init_prov() 189 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_sign_update() 216 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_sign_final() 239 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_sign_prov() 250 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_sign_prov() 359 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_sign_recover_prov() 370 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_sign_recover_prov() 398 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_sign_recover_init_prov() [all …]
|
H A D | kcf_verify.c | 58 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_verify_init_prov() 69 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_verify_init_prov() 77 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_verify_init_prov() 191 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_verify_update() 218 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_verify_final() 241 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_verify_prov() 252 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_verify_prov() 361 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_verify_recover_prov() 372 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_verify_recover_prov() 400 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_verify_recover_init_prov() [all …]
|
H A D | kcf_session.c | 59 pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER); in crypto_session_open() 100 pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER); in crypto_session_close() 132 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_session_login() 151 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_session_login() 168 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_session_logout() 187 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_session_logout()
|
H A D | kcf_digest.c | 106 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_digest_prov() 119 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_digest_prov() 220 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_digest_init_prov() 231 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_digest_init_prov() 252 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_digest_init_prov() 351 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_digest_update() 400 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_digest_final() 437 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_digest_key_prov()
|
H A D | kcf_mac.c | 106 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_mac_prov() 118 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_mac_prov() 230 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_mac_verify_prov() 242 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_mac_verify_prov() 383 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_mac_init_prov() 394 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_mac_init_prov() 415 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_mac_init_prov() 537 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_mac_update() 586 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_mac_final()
|
H A D | kcf_cipher.c | 118 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_cipher_init_prov() 135 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_cipher_init_prov() 209 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_cipher_init_prov() 330 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_encrypt_prov() 343 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_encrypt_prov() 488 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_encrypt_update() 548 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_encrypt_final() 611 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_decrypt_prov() 624 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_decrypt_prov() 770 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_decrypt_update() [all …]
|
H A D | kcf_dual.c | 71 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_encrypt_mac_prov() 162 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_encrypt_mac_prov() 438 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_encrypt_mac_init_prov() 541 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_encrypt_mac_init_prov() 882 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_encrypt_mac_update() 985 ASSERT(pd->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in crypto_encrypt_mac_final() 1412 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_mac_decrypt_common_prov() 1509 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_mac_decrypt_common_prov() 1861 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_mac_decrypt_init_prov() 1964 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_mac_decrypt_init_prov() [all …]
|
H A D | kcf_miscapi.c | 596 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_key_check_prov() 603 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) in crypto_key_check_prov() 866 pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER); in crypto_get_provinfo()
|
/illumos-gate/usr/src/uts/common/crypto/spi/ |
H A D | kcf_spi.c | 150 info->pi_provider_type != CRYPTO_LOGICAL_PROVIDER) in crypto_register_provider() 180 if (info->pi_provider_type != CRYPTO_LOGICAL_PROVIDER) { in crypto_register_provider() 223 case CRYPTO_LOGICAL_PROVIDER: in crypto_register_provider() 270 if (prov_desc->pd_prov_type != CRYPTO_LOGICAL_PROVIDER) { in crypto_register_provider() 322 if (prov_desc->pd_prov_type != CRYPTO_LOGICAL_PROVIDER) { in crypto_register_provider() 488 if (desc->pd_prov_type != CRYPTO_LOGICAL_PROVIDER) { in crypto_unregister_provider() 623 if (pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in crypto_provider_notification() 750 if (desc->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in init_prov_mechs() 1050 if (prov_desc->pd_prov_type != CRYPTO_LOGICAL_PROVIDER) { in kcf_do_notify() 1074 if (prov_desc->pd_prov_type == CRYPTO_LOGICAL_PROVIDER || in kcf_do_notify()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_tabs.c | 360 if (info->pi_provider_type != CRYPTO_LOGICAL_PROVIDER) { in kcf_alloc_provider_desc() 600 prov_desc->pd_prov_type == CRYPTO_LOGICAL_PROVIDER)) { in kcf_get_slot_list() 625 prov_desc->pd_prov_type == CRYPTO_LOGICAL_PROVIDER)) { in kcf_get_slot_list()
|
H A D | kcf_mech_tabs.c | 400 ASSERT(prov_desc->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in kcf_add_mech_provider() 639 ASSERT(prov_desc->pd_prov_type != CRYPTO_LOGICAL_PROVIDER); in kcf_remove_mech_provider()
|
H A D | kcf_callprov.c | 259 if (old->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in kcf_get_hardware_provider() 275 CRYPTO_LOGICAL_PROVIDER); in kcf_get_hardware_provider() 400 if (old->pd_prov_type == CRYPTO_LOGICAL_PROVIDER) { in kcf_get_hardware_provider_nomech() 416 CRYPTO_LOGICAL_PROVIDER); in kcf_get_hardware_provider_nomech()
|
H A D | kcf_cryptoadm.c | 933 if (provider->pd_prov_type != CRYPTO_LOGICAL_PROVIDER) { in is_mech_disabled()
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | common.h | 405 CRYPTO_LOGICAL_PROVIDER enumerator
|
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | impl.c | 86 case CRYPTO_LOGICAL_PROVIDER: in kcf_provider_desc()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 899 if (provider->pd_prov_type != CRYPTO_LOGICAL_PROVIDER) { in get_function_list() 1483 provider->pd_prov_type == CRYPTO_LOGICAL_PROVIDER); in get_provider_info() 1749 pd->pd_prov_type == CRYPTO_LOGICAL_PROVIDER); in crypto_get_provider_session()
|