Lines Matching refs:mode
303 cert_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode)
311 if (mode == MODE_CREATE) {
319 return (template_check_required_base_attributes(tmpl, mode));
326 cert_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode)
333 if (mode != MODE_CREATE) {
347 return (template_validate_base_attribute(tmpl, attr, mode));
352 cert_x509_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode) {
364 return (cert_check_required_attributes(tmpl, mode));
377 cert_x509_set_default_attributes(TEMPLATE *tmpl, CK_ULONG mode)
383 if (mode)
419 CK_ATTRIBUTE *attr, CK_ULONG mode)
423 if (mode != MODE_CREATE)
434 if (mode != MODE_CREATE)
440 return (cert_validate_attribute(tmpl, attr, mode));
445 cert_vendor_check_required_attributes(TEMPLATE *tmpl, CK_ULONG mode)
447 return (cert_check_required_attributes(tmpl, mode));
452 CK_ATTRIBUTE *attr, CK_ULONG mode)
454 return (cert_validate_attribute(tmpl, attr, mode));