Searched defs:attr1 (Results 1 - 6 of 6) sorted by relevance

/bind-9.11.3/lib/dns/
H A Dpkcs11dh_link.c262 CK_ATTRIBUTE *attr1, *attr2; local
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
323 CK_ATTRIBUTE *attr1, *attr2; local
[all...]
H A Dpkcs11dsa_link.c431 CK_ATTRIBUTE *attr1, *attr2; local
441 attr1 = pk11_attribute_bytype(dsa1, 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,
448 attr1->ulValueLen))
451 attr1 = pk11_attribute_bytype(dsa1, CKA_SUBPRIME);
453 if ((attr1 == NULL) && (attr2 == NULL))
455 else if ((attr1
[all...]
H A Dpkcs11ecdsa_link.c376 CK_ATTRIBUTE *attr1, *attr2; local
386 attr1 = pk11_attribute_bytype(ec1, 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,
393 attr1->ulValueLen))
396 attr1 = pk11_attribute_bytype(ec1, CKA_EC_POINT);
398 if ((attr1 == NULL) && (attr2 == NULL))
400 else if ((attr1
[all...]
H A Dpkcs11eddsa_link.c368 CK_ATTRIBUTE *attr1, *attr2; local
378 attr1 = pk11_attribute_bytype(ec1, 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,
385 attr1->ulValueLen))
388 attr1 = pk11_attribute_bytype(ec1, CKA_EC_POINT);
390 if ((attr1 == NULL) && (attr2 == NULL))
392 else if ((attr1
[all...]
H A Dpkcs11gost_link.c430 CK_ATTRIBUTE *attr1, *attr2; local
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
[all...]
H A Dpkcs11rsa_link.c1116 CK_ATTRIBUTE *attr1, *attr2; local
1126 attr1 = pk11_attribute_bytype(rsa1, 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,
1133 attr1->ulValueLen))
1136 attr1 = pk11_attribute_bytype(rsa1, CKA_PUBLIC_EXPONENT);
1138 if ((attr1 == NULL) && (attr2 == NULL))
1140 else if ((attr1
[all...]

Completed in 23 milliseconds