Home | History | Annotate | Download | only in hx509

Lines Matching defs:attribute

55     CK_ATTRIBUTE attribute;
214 if (attributes[i].type == obj->attrs[j].attribute.type &&
215 attributes[i].ulValueLen == obj->attrs[j].attribute.ulValueLen &&
216 memcmp(attributes[i].pValue, obj->attrs[j].attribute.pValue,
223 st_logf("type %d attribute have no match\n", attributes[i].type);
227 st_logf("attribute matches\n");
245 application_error("token attribute wrong length\n");
255 application_error("class attribute wrong length\n");
356 o->attrs[i].attribute.type = type;
357 o->attrs[i].attribute.pValue = malloc(ulValueLen);
358 if (o->attrs[i].attribute.pValue == NULL && ulValueLen != 0)
361 memcpy(o->attrs[i].attribute.pValue, pValue, ulValueLen);
362 o->attrs[i].attribute.ulValueLen = ulValueLen;
1301 if (pTemplate[i].type == obj->attrs[j].attribute.type) {
1303 if (pTemplate[i].ulValueLen >= obj->attrs[j].attribute.ulValueLen)
1304 memcpy(pTemplate[i].pValue, obj->attrs[j].attribute.pValue,
1305 attribute.ulValueLen);
1307 pTemplate[i].ulValueLen = obj->attrs[j].attribute.ulValueLen;