Lines Matching refs:ulAttributeCount

107 is_secret_key_template(CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount)
110 for (i = 0; i < ulAttributeCount; i++) {
143 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulAttributeCount,
150 for (i = 0; i < ulAttributeCount; i++) {
157 if (i == ulAttributeCount)
171 for (i = 0; i < ulAttributeCount; i++) {
179 if (i == ulAttributeCount)
209 pTemplate, ulAttributeCount))
1747 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
1773 if ((pTemplate == NULL) && (ulAttributeCount != 0)) {
1809 (is_secret_key_template(pTemplate, ulAttributeCount))) {
1831 newTemplate = grow_template(pTemplate, ulAttributeCount,
1832 ulAttributeCount + 1);
1838 newTemplate[ulAttributeCount].type = CKA_VALUE;
1839 newTemplate[ulAttributeCount].pValue = clear_key_val;
1840 newTemplate[ulAttributeCount].ulValueLen = ulDataLen;
1844 ulAttributeCount + 1, phKey, session_p);
1874 rv = process_object_attributes(pTemplate, ulAttributeCount,
1883 ulAttributeCount);
1897 obj_unwrapkey.uk_count = ulAttributeCount;
1909 free_object_attributes(obj_unwrapkey.uk_attributes, ulAttributeCount);
2179 CK_ULONG ulAttributeCount, kernel_session_t *session_p,
2199 rv = get_key_len_from_template(pMechanism, pTemplate, ulAttributeCount,
2211 ulAttributeCount);
2213 attr_count = ulAttributeCount + 1;
2217 newTemplate = grow_template(pTemplate, ulAttributeCount, attr_count);
2223 n = ulAttributeCount;
2325 CK_ULONG ulAttributeCount, CK_OBJECT_HANDLE_PTR phKey)
2351 if ((pTemplate == NULL && ulAttributeCount != 0) ||
2352 (pTemplate != NULL && ulAttributeCount == 0)) {
2385 ulAttributeCount, session_p, k_mech_type, basekey_p,
2392 rv = process_object_attributes(pTemplate, ulAttributeCount,
2401 ulAttributeCount);
2412 obj_dk.dk_count = ulAttributeCount;
2424 free_object_attributes(obj_dk.dk_attributes, ulAttributeCount);