Lines Matching refs:ulCount
249 CK_ULONG ulCount, kernel_session_t *session_p, in key_gen_by_value() argument
264 rv = get_key_len_from_template(pMechanism, pTemplate, ulCount, in key_gen_by_value()
274 attr_count = ulCount + 1; in key_gen_by_value()
275 newTemplate = grow_template(pTemplate, ulCount, attr_count); in key_gen_by_value()
282 newTemplate[ulCount].type = CKA_VALUE; in key_gen_by_value()
283 newTemplate[ulCount].pValue = (caddr_t)key_buf; in key_gen_by_value()
284 newTemplate[ulCount].ulValueLen = key_len; in key_gen_by_value()
291 rv = process_object_attributes(&newTemplate[ulCount], in key_gen_by_value()
326 rv = get_object_attributes(&newTemplate[ulCount], 1, in key_gen_by_value()
361 CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey) in C_GenerateKey() argument
386 if ((pTemplate == NULL) && (ulCount != 0)) { in C_GenerateKey()
411 rv = key_gen_by_value(pMechanism, pTemplate, ulCount, session_p, in C_GenerateKey()
419 rv = process_object_attributes(pTemplate, ulCount, in C_GenerateKey()
426 free_object_attributes(obj_gk.gk_attributes, ulCount); in C_GenerateKey()
433 obj_gk.gk_count = ulCount; in C_GenerateKey()
449 free_object_attributes(obj_gk.gk_attributes, ulCount); in C_GenerateKey()