Home
last modified time | relevance | path

Searched refs:newattrs (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslioctl.c284 crypto_object_attribute_t *newattrs; in extract_private_key() local
318 newattrs = kmem_alloc(attrs_size, KM_SLEEP); in extract_private_key()
334 newattrs[i].oa_type = att.ka_type; in extract_private_key()
335 newattrs[i].oa_value_len = attlen; in extract_private_key()
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()
341 kssl_privkey->ck_attrs = newattrs; 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()
352 kmem_free(newattrs, attrs_size); in extract_private_key()