Lines Matching defs:attr1

262 	CK_ATTRIBUTE *attr1, *attr2;
272 attr1 = pk11_attribute_bytype(dh1, CKA_PRIME);
274 if ((attr1 == NULL) && (attr2 == NULL))
276 else if ((attr1 == NULL) || (attr2 == NULL) ||
277 (attr1->ulValueLen != attr2->ulValueLen) ||
278 !isc_safe_memequal(attr1->pValue, attr2->pValue,
279 attr1->ulValueLen))
282 attr1 = pk11_attribute_bytype(dh1, CKA_BASE);
284 if ((attr1 == NULL) && (attr2 == NULL))
286 else if ((attr1 == NULL) || (attr2 == NULL) ||
287 (attr1->ulValueLen != attr2->ulValueLen) ||
288 !isc_safe_memequal(attr1->pValue, attr2->pValue,
289 attr1->ulValueLen))
292 attr1 = pk11_attribute_bytype(dh1, CKA_VALUE);
294 if ((attr1 == NULL) && (attr2 == NULL))
296 else if ((attr1 == NULL) || (attr2 == NULL) ||
297 (attr1->ulValueLen != attr2->ulValueLen) ||
298 !isc_safe_memequal(attr1->pValue, attr2->pValue,
299 attr1->ulValueLen))
302 attr1 = pk11_attribute_bytype(dh1, CKA_VALUE2);
304 if (((attr1 != NULL) || (attr2 != NULL)) &&
305 ((attr1 == NULL) || (attr2 == NULL) ||
306 (attr1->ulValueLen != attr2->ulValueLen) ||
307 !isc_safe_memequal(attr1->pValue, attr2->pValue,
308 attr1->ulValueLen)))
323 CK_ATTRIBUTE *attr1, *attr2;
333 attr1 = pk11_attribute_bytype(dh1, CKA_PRIME);
335 if ((attr1 == NULL) && (attr2 == NULL))
337 else if ((attr1 == NULL) || (attr2 == NULL) ||
338 (attr1->ulValueLen != attr2->ulValueLen) ||
339 !isc_safe_memequal(attr1->pValue, attr2->pValue,
340 attr1->ulValueLen))
343 attr1 = pk11_attribute_bytype(dh1, CKA_BASE);
345 if ((attr1 == NULL) && (attr2 == NULL))
347 else if ((attr1 == NULL) || (attr2 == NULL) ||
348 (attr1->ulValueLen != attr2->ulValueLen) ||
349 !isc_safe_memequal(attr1->pValue, attr2->pValue,
350 attr1->ulValueLen))