Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c325 CK_ATTRIBUTE_INFO_PTR extra_attr; in kernel_cleanup_extra_attr() local
328 extra_attr = object_p->extra_attrlistp; in kernel_cleanup_extra_attr()
329 while (extra_attr) { in kernel_cleanup_extra_attr()
330 tmp = extra_attr->next; in kernel_cleanup_extra_attr()
331 if (extra_attr->attr.pValue) in kernel_cleanup_extra_attr()
338 free(extra_attr->attr.pValue); in kernel_cleanup_extra_attr()
341 free(extra_attr); in kernel_cleanup_extra_attr()
342 extra_attr = tmp; in kernel_cleanup_extra_attr()
455 CK_ATTRIBUTE_INFO_PTR extra_attr; in get_extra_attr_from_object() local
458 extra_attr = object_p->extra_attrlistp; in get_extra_attr_from_object()
[all …]
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c418 CK_ATTRIBUTE_INFO_PTR extra_attr; in soft_cleanup_extra_attr() local
421 extra_attr = object_p->extra_attrlistp; in soft_cleanup_extra_attr()
422 while (extra_attr) { in soft_cleanup_extra_attr()
423 tmp = extra_attr->next; in soft_cleanup_extra_attr()
424 if (extra_attr->attr.pValue) in soft_cleanup_extra_attr()
431 free(extra_attr->attr.pValue); in soft_cleanup_extra_attr()
434 free(extra_attr); in soft_cleanup_extra_attr()
435 extra_attr = tmp; in soft_cleanup_extra_attr()
589 CK_ATTRIBUTE_INFO_PTR extra_attr; in get_extra_attr_from_object() local
592 extra_attr = object_p->extra_attrlistp; in get_extra_attr_from_object()
[all …]
H A DsoftKeystore.c334 CK_ATTRIBUTE_INFO_PTR extra_attr; in soft_keystore_pack_obj() local
359 extra_attr = obj->extra_attrlistp; in soft_keystore_pack_obj()
361 while (extra_attr) { in soft_keystore_pack_obj()
363 len_attrs += ROUNDUP(extra_attr->attr.ulValueLen, 8); in soft_keystore_pack_obj()
364 extra_attr = extra_attr->next; in soft_keystore_pack_obj()
376 extra_attr = obj->extra_attrlistp; in soft_keystore_pack_obj()
378 attr_hdr.type = SWAP64((uint64_t)extra_attr->attr.type); in soft_keystore_pack_obj()
380 SWAP64((uint64_t)extra_attr->attr.ulValueLen); in soft_keystore_pack_obj()
383 (void) memcpy(buf1, extra_attr->attr.pValue, in soft_keystore_pack_obj()
384 extra_attr->attr.ulValueLen); in soft_keystore_pack_obj()
[all …]