Searched refs:oa_value (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c41 cur_attr->oa_value = ptr; \
483 if (key->ck_attrs[i].oa_value != NULL) {
484 bzero(key->ck_attrs[i].oa_value,
486 free(key->ck_attrs[i].oa_value);
678 cur_attr->oa_value = tmp.pValue;
750 cur_attr->oa_value = tmp.pValue;
822 cur_attr->oa_value = NULL;
834 cur_attr->oa_value = ptr;
860 if (cur_attr->oa_value != NULL) {
861 (void) free(cur_attr->oa_value);
[all...]
H A DkernelKeys.c2035 attrs[0].oa_value = tmp.pValue;
2065 attrs[1].oa_value = tmp.pValue;
2111 attrs[0].oa_value = tmp.pValue;
2134 attrs[1].oa_value = tmp.pValue;
2152 attrs[2].oa_value = tmp.pValue;
2169 if (attrs[i].oa_value != NULL)
2170 free(attrs[i].oa_value);
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslioctl.c76 bzero(attrs[i].oa_value, attrs[i].oa_value_len);
77 kmem_free(attrs[i].oa_value, attrs[i].oa_value_len);
336 newattrs[i].oa_value = kmem_alloc(attlen, KM_SLEEP);
338 bcopy(attval, newattrs[i].oa_value, attlen);
349 bzero(newattrs[j].oa_value, newattrs[j].oa_value_len);
350 kmem_free(newattrs[j].oa_value, newattrs[j].oa_value_len);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c293 if (attr[i].oa_value != NULL && attr[i].oa_type == attr_type)
322 bcopy(template[attr_idx].oa_value, (uchar_t *)value + offset,
1119 params = (uchar_t *)pub_template[params_idx].oa_value;
1122 value = (uchar_t *)pri_out_template[value_idx].oa_value;
1124 point = (uchar_t *)pub_out_template[point_idx].oa_value;
1241 private_value_item.data = (uchar_t *)attrs[value_idx].oa_value;
1245 params_item.data = (uchar_t *)attrs[params_idx].oa_value;
1289 (uchar_t *)out_attrs[out_value_idx].oa_value, key_len);
H A Ddprov.c7154 if (template[tmpl_idx].oa_value == NULL) {
7173 bzero(template[tmpl_idx].oa_value, tlen);
7181 bcopy(object->do_attr[object_idx].oa_value,
7182 &template[tmpl_idx].oa_value[offset], olen);
7547 attribute.oa_value = (char *)&class;
7558 attribute.oa_value = (char *)&key_type;
7568 attribute.oa_value = kmem_alloc(key_len, KM_SLEEP);
7571 if (random_get_pseudo_bytes((uchar_t *)attribute.oa_value,
7573 bzero(attribute.oa_value, key_len);
7574 kmem_free(attribute.oa_value, key_le
[all...]
H A Dcrypto.c2176 attrs->oa_value != NULL) {
2281 if (STRUCT_FGETP(oa, oa_value) != NULL)
2304 value = STRUCT_FGETP(oa, oa_value);
2316 k_attrs[i].oa_value = p;
2319 k_attrs[i].oa_value = NULL;
4501 valuep = STRUCT_FGETP(oa, oa_value);
4503 if (copyout(k_attrs[i].oa_value,
H A Ddca.c3586 *valp = *bap->oa_value;
3606 *data = bap->oa_value;
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c307 bcopy(in_key->ck_attrs[i].oa_value, attr_val,
309 k_attrs[i].oa_value = attr_val;
551 *value = (uchar_t *)key->ck_attrs[i].oa_value;
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dcommon.h330 caddr_t oa_value; /* attribute value */ member in struct:crypto_object_attribute
358 caddr32_t oa_value; /* attribute value */ member in struct:crypto_object_attribute32

Completed in 105 milliseconds