Searched refs:attr2 (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/lib/dns/
H A Dpkcs11dh_link.c262 CK_ATTRIBUTE *attr1, *attr2; local
273 attr2 = pk11_attribute_bytype(dh2, 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,
283 attr2 = pk11_attribute_bytype(dh2, CKA_BASE);
284 if ((attr1 == NULL) && (attr2 == NULL))
286 else if ((attr1 == NULL) || (attr2 == NULL) ||
287 (attr1->ulValueLen != attr2
323 CK_ATTRIBUTE *attr1, *attr2; local
[all...]
H A Dpkcs11dsa_link.c431 CK_ATTRIBUTE *attr1, *attr2; local
442 attr2 = pk11_attribute_bytype(dsa2, CKA_PRIME);
443 if ((attr1 == NULL) && (attr2 == NULL))
445 else if ((attr1 == NULL) || (attr2 == NULL) ||
446 (attr1->ulValueLen != attr2->ulValueLen) ||
447 !isc_safe_memequal(attr1->pValue, attr2->pValue,
452 attr2 = pk11_attribute_bytype(dsa2, CKA_SUBPRIME);
453 if ((attr1 == NULL) && (attr2 == NULL))
455 else if ((attr1 == NULL) || (attr2 == NULL) ||
456 (attr1->ulValueLen != attr2
[all...]
H A Dpkcs11eddsa_link.c368 CK_ATTRIBUTE *attr1, *attr2; local
379 attr2 = pk11_attribute_bytype(ec2, CKA_EC_PARAMS);
380 if ((attr1 == NULL) && (attr2 == NULL))
382 else if ((attr1 == NULL) || (attr2 == NULL) ||
383 (attr1->ulValueLen != attr2->ulValueLen) ||
384 !isc_safe_memequal(attr1->pValue, attr2->pValue,
389 attr2 = pk11_attribute_bytype(ec2, CKA_EC_POINT);
390 if ((attr1 == NULL) && (attr2 == NULL))
392 else if ((attr1 == NULL) || (attr2 == NULL) ||
393 (attr1->ulValueLen != attr2
[all...]
H A Dpkcs11gost_link.c430 CK_ATTRIBUTE *attr1, *attr2; local
441 attr2 = pk11_attribute_bytype(gost2, 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,
451 attr2 = pk11_attribute_bytype(gost2, CKA_VALUE2);
452 if (((attr1 != NULL) || (attr2 != NULL)) &&
453 ((attr1 == NULL) || (attr2 == NULL) ||
454 (attr1->ulValueLen != attr2
[all...]
H A Dpkcs11ecdsa_link.c376 CK_ATTRIBUTE *attr1, *attr2; local
387 attr2 = pk11_attribute_bytype(ec2, CKA_EC_PARAMS);
388 if ((attr1 == NULL) && (attr2 == NULL))
390 else if ((attr1 == NULL) || (attr2 == NULL) ||
391 (attr1->ulValueLen != attr2->ulValueLen) ||
392 !isc_safe_memequal(attr1->pValue, attr2->pValue,
397 attr2 = pk11_attribute_bytype(ec2, CKA_EC_POINT);
398 if ((attr1 == NULL) && (attr2 == NULL))
400 else if ((attr1 == NULL) || (attr2 == NULL) ||
401 (attr1->ulValueLen != attr2
[all...]
H A Dpkcs11rsa_link.c1116 CK_ATTRIBUTE *attr1, *attr2; local
1127 attr2 = pk11_attribute_bytype(rsa2, CKA_MODULUS);
1128 if ((attr1 == NULL) && (attr2 == NULL))
1130 else if ((attr1 == NULL) || (attr2 == NULL) ||
1131 (attr1->ulValueLen != attr2->ulValueLen) ||
1132 !isc_safe_memequal(attr1->pValue, attr2->pValue,
1137 attr2 = pk11_attribute_bytype(rsa2, CKA_PUBLIC_EXPONENT);
1138 if ((attr1 == NULL) && (attr2 == NULL))
1140 else if ((attr1 == NULL) || (attr2 == NULL) ||
1141 (attr1->ulValueLen != attr2
[all...]

Completed in 539 milliseconds