Lines Matching defs:ulCount
248 CK_ULONG ulCount, kernel_session_t *session_p,
263 rv = get_key_len_from_template(pMechanism, pTemplate, ulCount,
273 attr_count = ulCount + 1;
274 newTemplate = grow_template(pTemplate, ulCount, attr_count);
281 newTemplate[ulCount].type = CKA_VALUE;
282 newTemplate[ulCount].pValue = (caddr_t)key_buf;
283 newTemplate[ulCount].ulValueLen = key_len;
290 rv = process_object_attributes(&newTemplate[ulCount],
325 rv = get_object_attributes(&newTemplate[ulCount], 1,
366 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey)
391 if ((pTemplate == NULL) && (ulCount != 0)) {
416 rv = key_gen_by_value(pMechanism, pTemplate, ulCount, session_p,
424 rv = process_object_attributes(pTemplate, ulCount,
431 free_object_attributes(obj_gk.gk_attributes, ulCount);
438 obj_gk.gk_count = ulCount;
454 free_object_attributes(obj_gk.gk_attributes, ulCount);