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