Searched refs:oa_value (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelUtil.c | 42 cur_attr->oa_value = ptr; \ 375 freezero(key->ck_attrs[i].oa_value, in free_key_attributes() 567 cur_attr->oa_value = tmp.pValue; in get_ec_private_key() 639 cur_attr->oa_value = tmp.pValue; in get_ec_public_key() 711 cur_attr->oa_value = NULL; in process_object_attributes() 723 cur_attr->oa_value = ptr; in process_object_attributes() 749 if (cur_attr->oa_value != NULL) { in process_object_attributes() 750 (void) free(cur_attr->oa_value); in process_object_attributes() 788 (void) memcpy(pTemplate[i].pValue, cur_attr->oa_value, in get_object_attributes() 814 if (cur_attr->oa_value != NULL) { in free_object_attributes() [all …]
|
H A D | kernelKeys.c | 2030 attrs[0].oa_value = tmp.pValue; in get_base_key_attributes() 2060 attrs[1].oa_value = tmp.pValue; in get_base_key_attributes() 2106 attrs[0].oa_value = tmp.pValue; in get_base_key_attributes() 2129 attrs[1].oa_value = tmp.pValue; in get_base_key_attributes() 2147 attrs[2].oa_value = tmp.pValue; in get_base_key_attributes() 2164 if (attrs[i].oa_value != NULL) in get_base_key_attributes() 2165 free(attrs[i].oa_value); in get_base_key_attributes()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 7180 if (template[tmpl_idx].oa_value == NULL) { in dprov_object_task() 7199 bzero(template[tmpl_idx].oa_value, tlen); in dprov_object_task() 7207 bcopy(object->do_attr[object_idx].oa_value, in dprov_object_task() 7208 &template[tmpl_idx].oa_value[offset], olen); in dprov_object_task() 7573 attribute.oa_value = (char *)&class; in dprov_key_task() 7584 attribute.oa_value = (char *)&key_type; in dprov_key_task() 7594 attribute.oa_value = kmem_alloc(key_len, KM_SLEEP); in dprov_key_task() 7597 if (random_get_pseudo_bytes((uchar_t *)attribute.oa_value, in dprov_key_task() 7599 bzero(attribute.oa_value, key_len); in dprov_key_task() 7600 kmem_free(attribute.oa_value, key_len); in dprov_key_task() [all …]
|
H A D | ecc.c | 293 if (attr[i].oa_value != NULL && attr[i].oa_type == attr_type) in find_attr() 322 bcopy(template[attr_idx].oa_value, (uchar_t *)value + offset, in get_template_attr_scalar_common() 1119 params = (uchar_t *)pub_template[params_idx].oa_value; in ecc_nostore_key_generate_pair() 1122 value = (uchar_t *)pri_out_template[value_idx].oa_value; in ecc_nostore_key_generate_pair() 1124 point = (uchar_t *)pub_out_template[point_idx].oa_value; in ecc_nostore_key_generate_pair() 1241 private_value_item.data = (uchar_t *)attrs[value_idx].oa_value; in ecc_nostore_key_derive() 1245 params_item.data = (uchar_t *)attrs[params_idx].oa_value; in ecc_nostore_key_derive() 1289 (uchar_t *)out_attrs[out_value_idx].oa_value, key_len); in ecc_nostore_key_derive()
|
H A D | crypto.c | 2212 attrs->oa_value != NULL) { in crypto_free_key_attributes() 2317 if (STRUCT_FGETP(oa, oa_value) != NULL) in copyin_attributes() 2340 value = STRUCT_FGETP(oa, oa_value); in copyin_attributes() 2352 k_attrs[i].oa_value = p; in copyin_attributes() 2355 k_attrs[i].oa_value = NULL; in copyin_attributes() 4588 valuep = STRUCT_FGETP(oa, oa_value); in copyout_attributes() 4590 if (copyout(k_attrs[i].oa_value, in copyout_attributes()
|
H A D | dca.c | 3547 *valp = *bap->oa_value; in dca_attr_lookup_uint32() 3567 *data = bap->oa_value; in dca_attr_lookup_uint8_array()
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 109 bcopy(in_key->ck_attrs[i].oa_value, attr_val, in crypto_copy_key_to_ctx() 111 k_attrs[i].oa_value = attr_val; in crypto_copy_key_to_ctx() 353 *value = (uchar_t *)key->ck_attrs[i].oa_value; in crypto_get_key_attr()
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | common.h | 331 caddr_t oa_value; /* attribute value */ member 359 caddr32_t oa_value; /* attribute value */ member
|