Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c329 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()
341 free(extra_attr); in kernel_cleanup_extra_attr()
342 extra_attr = tmp; in kernel_cleanup_extra_attr()
460 while (extra_attr) { in get_extra_attr_from_object()
466 extra_attr = extra_attr->next; in get_extra_attr_from_object()
470 if (extra_attr == NULL) { in get_extra_attr_from_object()
518 while (extra_attr) { in set_extra_attr_to_object()
524 extra_attr = extra_attr->next; in set_extra_attr_to_object()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c419 while (extra_attr) { in soft_cleanup_extra_attr()
420 tmp = extra_attr->next; in soft_cleanup_extra_attr()
433 free(extra_attr); in soft_cleanup_extra_attr()
434 extra_attr = tmp; in soft_cleanup_extra_attr()
593 while (extra_attr) { in get_extra_attr_from_object()
599 extra_attr = extra_attr->next; in get_extra_attr_from_object()
603 if (extra_attr == NULL) { in get_extra_attr_from_object()
651 while (extra_attr) { in set_extra_attr_to_object()
657 extra_attr = extra_attr->next; in set_extra_attr_to_object()
661 if (extra_attr == NULL) { in set_extra_attr_to_object()
[all …]
H A DsoftKeystore.c353 CK_ATTRIBUTE_INFO_PTR extra_attr; in soft_keystore_pack_obj() local
378 extra_attr = obj->extra_attrlistp; in soft_keystore_pack_obj()
380 while (extra_attr) { in soft_keystore_pack_obj()
382 len_attrs += ROUNDUP(extra_attr->attr.ulValueLen, 8); in soft_keystore_pack_obj()
383 extra_attr = extra_attr->next; in soft_keystore_pack_obj()
395 extra_attr = obj->extra_attrlistp; in soft_keystore_pack_obj()
399 SWAP64((uint64_t)extra_attr->attr.ulValueLen); in soft_keystore_pack_obj()
402 (void) memcpy(buf1, extra_attr->attr.pValue, in soft_keystore_pack_obj()
403 extra_attr->attr.ulValueLen); in soft_keystore_pack_obj()
404 buf1 = buf1 + ROUNDUP(extra_attr->attr.ulValueLen, 8); in soft_keystore_pack_obj()
[all …]