Searched refs:ck_count (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelUtil.c | 210 key->ck_count = 0; in get_rsa_private_key() 223 key->ck_count++; in get_rsa_private_key() 238 key->ck_count++; in get_rsa_private_key() 249 key->ck_count++; in get_rsa_private_key() 260 key->ck_count++; in get_rsa_private_key() 272 key->ck_count++; in get_rsa_private_key() 284 key->ck_count++; in get_rsa_private_key() 296 key->ck_count++; in get_rsa_private_key() 411 key->ck_count = DSA_ATTR_COUNT; in get_dsa_private_key() 536 key->ck_count = EC_ATTR_COUNT; in get_ec_private_key() [all …]
|
H A D | kernelKeys.c | 2063 key_by_value->ck_count = 2; in get_base_key_attributes() 2150 key_by_value->ck_count = 3; in get_base_key_attributes() 2192 obj_ndk.ndk_base_key.ck_count = 0; in derive_key_by_value() 2278 &obj_ndk.ndk_base_key.ck_count); in derive_key_by_value() 2313 &obj_ndk.ndk_base_key.ck_count); in derive_key_by_value()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dca_rsa.c | 440 if (dca_find_attribute(attr, key->ck_count, CKA_PUBLIC_EXPONENT)) in dca_rsainit() 448 if (dca_find_attribute(attr, key->ck_count, CKA_PRIVATE_EXPONENT)) in dca_rsainit() 458 if ((rv = dca_attr_lookup_uint8_array(attr, key->ck_count, CKA_MODULUS, in dca_rsainit() 477 if ((rv = dca_attr_lookup_uint8_array(attr, key->ck_count, expname, in dca_rsainit() 491 (void) dca_attr_lookup_uint8_array(attr, key->ck_count, in dca_rsainit() 495 (void) dca_attr_lookup_uint8_array(attr, key->ck_count, in dca_rsainit() 499 (void) dca_attr_lookup_uint8_array(attr, key->ck_count, in dca_rsainit() 503 (void) dca_attr_lookup_uint8_array(attr, key->ck_count, in dca_rsainit() 507 (void) dca_attr_lookup_uint8_array(attr, key->ck_count, in dca_rsainit()
|
H A D | dca_dsa.c | 410 if (dca_attr_lookup_uint8_array(attr, key->ck_count, CKA_PRIME, in dca_dsainit() 418 if (dca_attr_lookup_uint8_array(attr, key->ck_count, CKA_SUBPRIME, in dca_dsainit() 426 if (dca_attr_lookup_uint8_array(attr, key->ck_count, CKA_BASE, in dca_dsainit() 434 if (dca_attr_lookup_uint8_array(attr, key->ck_count, CKA_VALUE, in dca_dsainit()
|
H A D | ecc.c | 1199 (base_key->ck_count == 0)) { in ecc_nostore_key_derive() 1231 if ((value_idx = find_attr(attrs, base_key->ck_count, in ecc_nostore_key_derive() 1236 if ((params_idx = find_attr(attrs, base_key->ck_count, in ecc_nostore_key_derive()
|
H A D | dprov.c | 8434 base_key->ck_count, DPROV_CKA_BASE, &tmp, in dprov_key_task() 8437 base_key->ck_count, DPROV_CKA_PRIME, &tmp, in dprov_key_task() 8440 base_key->ck_count, DPROV_CKA_VALUE, &tmp, in dprov_key_task() 8968 ret_key->ck_count = key->ck_count; in dprov_key_attr_asymmetric() 8994 ret_key->ck_count = DPROV_MAX_ATTR; in dprov_key_attr_asymmetric() 9738 if ((attr_idx = dprov_find_attr(key->ck_attrs, key->ck_count, in dprov_get_key_attr_scalar_common() 9776 if ((attr_idx = dprov_find_attr(key->ck_attrs, key->ck_count, in dprov_get_key_attr_array()
|
H A D | crypto.c | 2202 if (key->ck_count == 0 || key->ck_attrs == NULL) in crypto_free_key_attributes() 2206 len = key->ck_count * sizeof (crypto_object_attribute_t); in crypto_free_key_attributes() 2209 for (i = 0; i < key->ck_count; i++) { in crypto_free_key_attributes() 2442 count = STRUCT_FGET(key, ck_count); in copyin_key() 2447 out_key->ck_count = count; in copyin_key() 2451 out_key->ck_count = 0; in copyin_key()
|
H A D | dca.c | 3526 (key->ck_count == 0)) { in dca_get_key_attr()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 89 count = in_key->ck_count; in crypto_copy_key_to_ctx() 117 key->ck_count = count; in crypto_copy_key_to_ctx() 351 for (i = 0; i < key->ck_count; i++) { in crypto_get_key_attr()
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | common.h | 388 #define ck_count cku_data.cku_key_attrs.cku_a_count macro
|