Lines Matching defs:attr
305 CK_ATTRIBUTE * attr = NULL;
313 CKA_CERTIFICATE_TYPE, &attr);
326 cert_validate_attribute(TEMPLATE *tmpl, CK_ATTRIBUTE *attr, CK_ULONG mode)
330 switch (attr->type) {
336 type = *(CK_CERTIFICATE_TYPE *)attr->pValue;
347 return (template_validate_base_attribute(tmpl, attr, mode));
353 CK_ATTRIBUTE *attr = NULL;
356 found = template_attribute_find(tmpl, CKA_SUBJECT, &attr);
360 found = template_attribute_find(tmpl, CKA_VALUE, &attr);
419 CK_ATTRIBUTE *attr, CK_ULONG mode)
421 switch (attr->type) {
440 return (cert_validate_attribute(tmpl, attr, mode));
452 CK_ATTRIBUTE *attr, CK_ULONG mode)
454 return (cert_validate_attribute(tmpl, attr, mode));