Searched refs:oa_value (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelUtil.c | 41 cur_attr->oa_value = ptr; \ 483 if (key->ck_attrs[i].oa_value != NULL) { in free_key_attributes() 484 bzero(key->ck_attrs[i].oa_value, in free_key_attributes() 486 free(key->ck_attrs[i].oa_value); in free_key_attributes() 678 cur_attr->oa_value = tmp.pValue; in get_ec_private_key() 750 cur_attr->oa_value = tmp.pValue; in get_ec_public_key() 822 cur_attr->oa_value = NULL; in process_object_attributes() 834 cur_attr->oa_value = ptr; in process_object_attributes() 860 if (cur_attr->oa_value != NULL) { in process_object_attributes() 861 (void) free(cur_attr->oa_value); in process_object_attributes() [all …]
|
H A D | kernelKeys.c | 2035 attrs[0].oa_value = tmp.pValue; in get_base_key_attributes() 2065 attrs[1].oa_value = tmp.pValue; in get_base_key_attributes() 2111 attrs[0].oa_value = tmp.pValue; in get_base_key_attributes() 2134 attrs[1].oa_value = tmp.pValue; in get_base_key_attributes() 2152 attrs[2].oa_value = tmp.pValue; in get_base_key_attributes() 2169 if (attrs[i].oa_value != NULL) in get_base_key_attributes() 2170 free(attrs[i].oa_value); in get_base_key_attributes()
|
/titanic_41/usr/src/uts/common/inet/kssl/ |
H A D | ksslioctl.c | 76 bzero(attrs[i].oa_value, attrs[i].oa_value_len); in privateKey_free() 77 kmem_free(attrs[i].oa_value, attrs[i].oa_value_len); in privateKey_free() 336 newattrs[i].oa_value = kmem_alloc(attlen, KM_SLEEP); in extract_private_key() 338 bcopy(attval, newattrs[i].oa_value, attlen); in extract_private_key() 349 bzero(newattrs[j].oa_value, newattrs[j].oa_value_len); in extract_private_key() 350 kmem_free(newattrs[j].oa_value, newattrs[j].oa_value_len); in extract_private_key()
|
/titanic_41/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 7154 if (template[tmpl_idx].oa_value == NULL) { in dprov_object_task() 7173 bzero(template[tmpl_idx].oa_value, tlen); in dprov_object_task() 7181 bcopy(object->do_attr[object_idx].oa_value, in dprov_object_task() 7182 &template[tmpl_idx].oa_value[offset], olen); in dprov_object_task() 7547 attribute.oa_value = (char *)&class; in dprov_key_task() 7558 attribute.oa_value = (char *)&key_type; in dprov_key_task() 7568 attribute.oa_value = kmem_alloc(key_len, KM_SLEEP); in dprov_key_task() 7571 if (random_get_pseudo_bytes((uchar_t *)attribute.oa_value, in dprov_key_task() 7573 bzero(attribute.oa_value, key_len); in dprov_key_task() 7574 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 | 2176 attrs->oa_value != NULL) { in crypto_free_key_attributes() 2281 if (STRUCT_FGETP(oa, oa_value) != NULL) in copyin_attributes() 2304 value = STRUCT_FGETP(oa, oa_value); in copyin_attributes() 2316 k_attrs[i].oa_value = p; in copyin_attributes() 2319 k_attrs[i].oa_value = NULL; in copyin_attributes() 4501 valuep = STRUCT_FGETP(oa, oa_value); in copyout_attributes() 4503 if (copyout(k_attrs[i].oa_value, in copyout_attributes()
|
H A D | dca.c | 3591 *valp = *bap->oa_value; in dca_attr_lookup_uint32() 3611 *data = bap->oa_value; in dca_attr_lookup_uint8_array()
|
/titanic_41/usr/src/uts/common/crypto/core/ |
H A D | kcf_prov_lib.c | 307 bcopy(in_key->ck_attrs[i].oa_value, attr_val, in crypto_copy_key_to_ctx() 309 k_attrs[i].oa_value = attr_val; in crypto_copy_key_to_ctx() 551 *value = (uchar_t *)key->ck_attrs[i].oa_value; in crypto_get_key_attr()
|
/titanic_41/usr/src/uts/common/sys/crypto/ |
H A D | common.h | 325 caddr_t oa_value; /* attribute value */ member 353 caddr32_t oa_value; /* attribute value */ member
|