Lines Matching refs:ulValueLen

315 		    pTemplate[i].ulValueLen);  in template_add_attributes()
320 attr->ulValueLen = pTemplate[i].ulValueLen; in template_add_attributes()
322 if (attr->ulValueLen != 0) { in template_add_attributes()
325 attr->ulValueLen); in template_add_attributes()
573 if (attr1->ulValueLen != attr2->ulValueLen) in template_compare()
575 if (memcmp(attr1->pValue, attr2->pValue, attr1->ulValueLen) in template_compare()
607 len = sizeof (CK_ATTRIBUTE) + attr->ulValueLen; in template_copy()
652 attr->ulValueLen); in template_flatten()
653 ptr += sizeof (CK_ATTRIBUTE) + attr->ulValueLen; in template_flatten()
667 attr->ulValueLen != 0) { in template_flatten()
669 attr_32->ulValueLen = sizeof (CK_ULONG_32); in template_flatten()
682 attr_32->ulValueLen = attr->ulValueLen; in template_flatten()
686 if (attr->ulValueLen != 0) { in template_flatten()
688 attr->ulValueLen); in template_flatten()
689 ptr += attr->ulValueLen; in template_flatten()
731 len = sizeof (CK_ATTRIBUTE) + a1_64->ulValueLen; in template_unflatten()
749 a1->ulValueLen != 0) { in template_unflatten()
752 len = sizeof (CK_ATTRIBUTE) + a1->ulValueLen; in template_unflatten()
767 a1->ulValueLen != 0) { in template_unflatten()
768 a2->ulValueLen = sizeof (CK_ULONG); in template_unflatten()
795 a2->ulValueLen = a1->ulValueLen; in template_unflatten()
800 (void) memcpy(pb2, pb, a1->ulValueLen); in template_unflatten()
805 if (a2->ulValueLen != 0) in template_unflatten()
819 ptr += sizeof (CK_ATTRIBUTE_32) + a1->ulValueLen; in template_unflatten()
898 size += sizeof (CK_ATTRIBUTE) + attr->ulValueLen; in template_get_size()
925 attr->ulValueLen != 0) { in template_get_compressed_size()
928 size += attr->ulValueLen; in template_get_compressed_size()
1049 token_attr->ulValueLen = sizeof (CK_BBOOL); in template_set_default_common_attributes()
1054 priv_attr->ulValueLen = sizeof (CK_BBOOL); in template_set_default_common_attributes()
1059 mod_attr->ulValueLen = sizeof (CK_BBOOL); in template_set_default_common_attributes()
1064 label_attr->ulValueLen = 0; // empty string in template_set_default_common_attributes()