Lines Matching defs:attr1
430 CK_ATTRIBUTE *attr1, *attr2;
440 attr1 = pk11_attribute_bytype(gost1, CKA_VALUE);
442 if ((attr1 == NULL) && (attr2 == NULL))
444 else if ((attr1 == NULL) || (attr2 == NULL) ||
445 (attr1->ulValueLen != attr2->ulValueLen) ||
446 !isc_safe_memequal(attr1->pValue, attr2->pValue,
447 attr1->ulValueLen))
450 attr1 = pk11_attribute_bytype(gost1, CKA_VALUE2);
452 if (((attr1 != NULL) || (attr2 != NULL)) &&
453 ((attr1 == NULL) || (attr2 == NULL) ||
454 (attr1->ulValueLen != attr2->ulValueLen) ||
455 !isc_safe_memequal(attr1->pValue, attr2->pValue,
456 attr1->ulValueLen)))