Lines Matching refs:newattrs
284 crypto_object_attribute_t *newattrs;
318 newattrs = kmem_alloc(attrs_size, KM_SLEEP);
334 newattrs[i].oa_type = att.ka_type;
335 newattrs[i].oa_value_len = attlen;
336 newattrs[i].oa_value = kmem_alloc(attlen, KM_SLEEP);
338 bcopy(attval, newattrs[i].oa_value, attlen);
341 kssl_privkey->ck_attrs = newattrs;
349 bzero(newattrs[j].oa_value, newattrs[j].oa_value_len);
350 kmem_free(newattrs[j].oa_value, newattrs[j].oa_value_len);
352 kmem_free(newattrs, attrs_size);